Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #########################################################
- ## BoredOOMM With Weather
- Based on weather codes by TeoBigusGeekus and Sector11##
- ## October 2011 Series ##
- ############################################################
- ####
- ## Prerequisites (required)
- #
- # conky-all 1.8.0 or 1.8.1
- # weather-utils
- # sudo apt-get install weather-utils
- # UTF-8 Compatible Text Editor
- # sudo apt-get install weather-utils
- # Teo Weather Thread - http://ubuntuforums.org/showthread.php?t=1156383
- ####
- ## Installed fonts (required)
- #
- # ConkyWeather (Stanko Metodiev)
- # ConkyWindNESW (Stanko Metodiev)
- # Cut Outs for 3D FX (Fonts & Things)
- # Font Family (Google An SDK)
- # Moon Phases (Curtis Clark)
- # OpenLogos (Icoma)
- # PizzaDude Bullets (Jakob Fischer)
- # Radio Space (Iconian Fonts)
- # StyleBats (Vinterstille)
- # Ubuntu Font Family (Canonical Ltd)
- # Ubuntu Title Bold (Paulo Silva)
- # Weather (Jonathan Macagba)
- # Orbitron Droid Sans Mono (google.com/webfonts)
- ## Tips n' Tricks from Mr. Peachy, djyoung4,42dorian & Sector11 (Thanks!)
- ## Most necessary fonts can be downloaded here: http://ompldr.org/vODYxOQ
- ## Unzip the fonts into your font folder, for example: /home/username/.fonts
- ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
- ### Begin Window Settings ##################################################
- # Create own window instead of using desktop (required in nautilus)
- own_window yes
- own_window_type override
- own_window_transparent yes
- own_window_hints below,sticky,skip_taskbar,skip_pager
- # own_window_colour brown
- own_window_class Conky
- own_window_title AccuWeather USA
- ### ARGB can be used for real transparency
- ### NOTE that a composite manager is required for real transparency.
- ### This option will not work as desired (in most cases) in conjunction with
- ### 'own_window_type override'
- # own_window_argb_visual yes
- ### When ARGB visuals are enabled, this use this to modify the alpha value
- ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
- #own_window_argb_value 0
- minimum_size 10 0 ## width, height
- maximum_width 340 ## width - usually a good idea to equal minimum width.
- gap_x 10 ## left &right
- gap_y 10 ## up & down
- alignment bottom_right
- #################################################### End Window Settings ###
- ### Font Settings ##########################################################
- # Use Xft (anti-aliased font and stuff)
- use_xft yes
- xftfont monospace:size=8
- # Alpha of Xft font. Must be a value at or between 1 and 0 ###
- xftalpha 0
- # Force UTF8? requires XFT ###
- override_utf8_locale yes
- draw_shades no
- draw_outline no
- uppercase no
- draw_outline no # amplifies text if yes
- ###################################################### End Font Settings ###
- ### Color Settings #########################################################
- default_shade_color grey
- default_outline_color black
- default_color DCDCDC #Gainsboro
- color0 DAA520 #Goldenrod FFFFF0 #Ivory
- color1 778899 #LightSlateGrey
- color2 FF8C00 #Darkorange
- color3 7FFF00 #Chartreuse
- color4 FFA07A #LightSalmon
- color5 FFDEAD #NavajoWhite
- color6 48D1CC #MediumTurquoise
- color7 00FFFF #Cyan
- color8 FFFF00 #Yellow
- color9 86b5ea #Red
- ##################################################### End Color Settings ###
- ### Borders Section ########################################################
- draw_borders no
- # Stippled borders?
- stippled_borders 0
- # border margins
- border_inner_margin 5
- # border width
- border_width 0
- ##################################################### End Borders Secton ###
- # Use the Xdbe extension? (eliminates flicker)
- # It is highly recommended to use own window with this one so
- # double buffer won't be so big
- double_buffer yes
- # Adds spaces around certain objects to stop them
- # from moving other things around.
- # only works with mono fonts
- use_spacer right
- # Arguments are left, right, and none (default)
- # Size of the standard text buffer (default is 256 bytes).
- # Will allow for more text display per variable.
- text_buffer_size 256
- # Sets bars size even for bars that do not hace that function
- # IE: execbar and execibar
- default_bar_size 335 9
- # 0 makes Conky run forever
- total_run_times 0
- cpu_avg_samples 1
- net_avg_samples 1
- no_buffers yes
- # Defaults to 4MiB
- # Set to 0 to disable the image cache
- # Increase this value if you use $image lots
- imlib_cache_size 0
- update_interval 3
- # and for US users who are Metrically challenged
- # blame BoredOOMM
- temperature_unit fahrenheit
- lua_load /home/bkberger/Conky/LUA/draw-bg.lua
- lua_draw_hook_pre draw_bg
- # stuff after 'TEXT' will be formatted on screen
- TEXT
- ${font Droid Sans Mono:bold:size=9}${color4}Welcome to Ursa-major${color8}${hr 2}
- ${goto 6}${voffset 6}${image /usr/share/icons/mintlogomonob096.png -p 0,14 -s 36x36}${color3}${goto 46}${pre_exec cat /etc/issue.net} $machine
- ${goto 46}Kernel: ${kernel}
- ${color3}${color}
- ${font StyleBats:size=10}${color2}A${font Droid Sans Mono:size=8}${color3} Intel Pentium Dual E2200${alignr}${freq_g cpu0} GHz
- ${font StyleBats:size=10}${color2}q${font Droid Sans Mono:size=8}${color3} System Uptime${alignr}${uptime_short}
- ${font StyleBats:size=10}${color2}o${font Droid Sans Mono:size=8}${color3} File System${alignr}${fs_type}${font}
- ${voffset 4}${font Droid Sans Mono:bold:size=8}${color4}Engine ${color8}${hr 2}
- ${voffset 4}${font StyleBats:size=10}${color2}k${voffset -1}${font Droid Sans Mono:size=8}${color3} CPU1 ${alignr}${cpu cpu1}%
- ${font StyleBats:size=10}${color2}k${voffset -1}${font Droid Sans Mono:size=8}${color3} CPU2 ${alignr}${cpu cpu2}%
- ${voffset 4}${font Droid Sans Mono:bold:size=8}${color4}Reserve Power${color8}${hr 2}
- ${voffset 4}${font StyleBats:size=10}${color2}l${voffset -2}${font Droid Sans MonoFallback:size=8.3}${color3} RAM${goto 97}${mem}${goto 133}/ ${memmax}${alignr}${memperc}%
- ${font StyleBats:size=10}${color2}4${font Droid Sans Mono:size=8}${color3} SWAP${goto 95}${swap}${goto 133}/ ${swapmax}${alignr}${swapperc}%
- ${font Droid Sans Mono:bold:size=8.25}${color4}Communications ${color8}${hr 2}
- ${font PizzaDudeBullets:size=9.5}${color2}T${font Droid Sans Mono:size=8}${color3} Down${alignr}${downspeed wlan0}
- ${font PizzaDudeBullets:size=9.5}${color2}N${font Droid Sans Mono:size=8}${color3} Up${alignr}${upspeed wlan0}
- ${font PizzaDudeBullets:size=9.5}${color2}T${font Droid Sans Mono:size=8}${color3} Downloaded${alignr}${totaldown wlan0}
- ${font PizzaDudeBullets:size=9.5}${color2}N${font Droid Sans Mono:size=8}${color3} Uploaded${alignr}${totalup wlan0}
- ${voffset 4}${font Sans:bold:size=8.25}${color4}${wireless_essid wlan0}${color8}${hr 2}
- ${goto 80}${font Droid Sans:size=38}${color4}${time %H:%M:%S}${font}
- ${font}${color3}
- Forecast For: ${alignr}Porterville CA (Elev. 479 ft)
- Lat/Lon: ${execi 86400 conkyLatLong}
- Currently:${goto 130}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV temperature}F ${goto 190}Humidity:${goto 310}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV humidity}%
- Wind speed:${goto 130}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV wind_speed}mph ${goto 190}Wind direction:${goto 310}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV wind_dir}
- ${execi 300 /home/bkberger/Conky/getsun.sh}
- ${execi 600 bash /home/bkberger/accuweather_conky_USA/accuw_USA_script}${font Orbitron:size=8}${color4}${execpi 600 sed -n '1p' /home/bkberger/accuweather_conky_USA/days}${font}
- ${voffset -5}${color7}${font conkyweather:size=30}${execi 600 sed -n '6p' /home/bkberger/accuweather_conky_USA/images}${font}${color}${voffset -25}${goto 55}H: ${font digitalk:bold:size=10}${execpi 600 sed -n '1p' /home/bkberger/accuweather_conky_USA/temperatures}${font}
- ${goto 55}L: ${font digitalk:bold:size=10}${execpi 600 sed -n '2p' /home/bkberger/accuweather_conky_USA/temperatures}${font Orbitron:size=8}
- ${execpi 600 sed -n '2p' /home/bkberger/accuweather_conky_USA/messages|fold -s -w 18}
- ${font Orbitron:size=8}${color4}${execpi 600 sed -n '2p' /home/bkberger/accuweather_conky_USA/days}${font}
- ${voffset -5}${color7}${font conkyweather:size=30}${execi 600 sed -n '7p' /home/bkberger/accuweather_conky_USA/images}${font}${color}${voffset -25}${goto 55}H: ${font digitalk:bold:size=10}${execpi 600 sed -n '3p' /home/bkberger/accuweather_conky_USA/temperatures}${font Orbitron:size=8}
- ${goto 55}L: ${font digitalk:bold:size=10}${execpi 600 sed -n '4p' /home/bkberger/accuweather_conky_USA/temperatures}${font Orbitron:size=8}
- ${execpi 600 sed -n '5p' /home/bkberger/accuweather_conky_USA/messages|fold -s -w 18}
- ${font Orbitron:size=8}${color4}${execpi 600 sed -n '3p' /home/bkberger/accuweather_conky_USA/days}${font}
- ${voffset -5}${color7}${font conkyweather:size=30}${execi 600 sed -n '8p' /home/bkberger/accuweather_conky_USA/images}${font}${color}${voffset -25}${goto 55}H: ${font digitalk:bold:size=10}${execpi 600 sed -n '5p' /home/bkberger/accuweather_conky_USA/temperatures}${font}
- ${goto 55}L: ${font digitalk:bold:size=10}${execpi 600 sed -n '6p' /home/bkberger/accuweather_conky_USA/temperatures}${font}
- ${execpi 600 sed -n '8p' /home/bkberger/accuweather_conky_USA/messages|fold -s -w 18}${font Droid Sans:bold:size=8.25}
- #${color4}Chronometer ${color8}${hr 2}
- ${goto 95}${font Droid Sans Mono:size=10}${color3}${execp gcal --starting-day=Sunday | sed -e 's/^.//g' -e 's/</${color9} /' -e 's/>/${color3} /'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement