Advertisement
BoredOOMM

28 October MyPeachy conky

Oct 29th, 2011
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.41 KB | None | 0 0
  1. #########################################################
  2. ## BoredOOMM With Weather
  3. Based on weather codes by TeoBigusGeekus and Sector11##
  4. ## October 2011 Series ##
  5. ############################################################
  6.  
  7. ####
  8. ## Prerequisites (required)
  9. #
  10. # conky-all 1.8.0 or 1.8.1
  11. # weather-utils
  12. # sudo apt-get install weather-utils
  13. # UTF-8 Compatible Text Editor
  14. # sudo apt-get install weather-utils
  15. # Teo Weather Thread - http://ubuntuforums.org/showthread.php?t=1156383
  16. ####
  17. ## Installed fonts (required)
  18. #
  19. # ConkyWeather (Stanko Metodiev)
  20. # ConkyWindNESW (Stanko Metodiev)
  21. # Cut Outs for 3D FX (Fonts & Things)
  22. # Font Family (Google An SDK)
  23. # Moon Phases (Curtis Clark)
  24. # OpenLogos (Icoma)
  25. # PizzaDude Bullets (Jakob Fischer)
  26. # Radio Space (Iconian Fonts)
  27. # StyleBats (Vinterstille)
  28. # Ubuntu Font Family (Canonical Ltd)
  29. # Ubuntu Title Bold (Paulo Silva)
  30. # Weather (Jonathan Macagba)
  31. # Orbitron Droid Sans Mono (google.com/webfonts)
  32. ## Tips n' Tricks from Mr. Peachy, djyoung4,42dorian & Sector11 (Thanks!)
  33. ## Most necessary fonts can be downloaded here: http://ompldr.org/vODYxOQ
  34. ## Unzip the fonts into your font folder, for example: /home/username/.fonts
  35. ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
  36.  
  37.  
  38. ### Begin Window Settings ##################################################
  39. # Create own window instead of using desktop (required in nautilus)
  40. own_window yes
  41. own_window_type override
  42. own_window_transparent yes
  43. own_window_hints below,sticky,skip_taskbar,skip_pager
  44. # own_window_colour brown
  45. own_window_class Conky
  46. own_window_title AccuWeather USA
  47.  
  48. ### ARGB can be used for real transparency
  49. ### NOTE that a composite manager is required for real transparency.
  50. ### This option will not work as desired (in most cases) in conjunction with
  51. ### 'own_window_type override'
  52. # own_window_argb_visual yes
  53. ### When ARGB visuals are enabled, this use this to modify the alpha value
  54. ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
  55. #own_window_argb_value 0
  56.  
  57. minimum_size 10 0 ## width, height
  58. maximum_width 340 ## width - usually a good idea to equal minimum width.
  59.  
  60. gap_x 10 ## left &right
  61. gap_y 10 ## up & down
  62.  
  63. alignment bottom_right
  64. #################################################### End Window Settings ###
  65. ### Font Settings ##########################################################
  66. # Use Xft (anti-aliased font and stuff)
  67. use_xft yes
  68. xftfont monospace:size=8
  69. # Alpha of Xft font. Must be a value at or between 1 and 0 ###
  70. xftalpha 0
  71. # Force UTF8? requires XFT ###
  72. override_utf8_locale yes
  73.  
  74. draw_shades no
  75. draw_outline no
  76. uppercase no
  77.  
  78. draw_outline no # amplifies text if yes
  79. ###################################################### End Font Settings ###
  80. ### Color Settings #########################################################
  81. default_shade_color grey
  82. default_outline_color black
  83.  
  84. default_color DCDCDC #Gainsboro
  85. color0 DAA520 #Goldenrod FFFFF0 #Ivory
  86. color1 778899 #LightSlateGrey
  87. color2 FF8C00 #Darkorange
  88. color3 7FFF00 #Chartreuse
  89. color4 FFA07A #LightSalmon
  90. color5 FFDEAD #NavajoWhite
  91. color6 48D1CC #MediumTurquoise
  92. color7 00FFFF #Cyan
  93. color8 FFFF00 #Yellow
  94. color9 86b5ea #Red
  95.  
  96. ##################################################### End Color Settings ###
  97. ### Borders Section ########################################################
  98. draw_borders no
  99. # Stippled borders?
  100. stippled_borders 0
  101. # border margins
  102. border_inner_margin 5
  103. # border width
  104. border_width 0
  105. ##################################################### End Borders Secton ###
  106.  
  107.  
  108. # Use the Xdbe extension? (eliminates flicker)
  109. # It is highly recommended to use own window with this one so
  110. # double buffer won't be so big
  111. double_buffer yes
  112.  
  113. # Adds spaces around certain objects to stop them
  114. # from moving other things around.
  115. # only works with mono fonts
  116. use_spacer right
  117. # Arguments are left, right, and none (default)
  118.  
  119. # Size of the standard text buffer (default is 256 bytes).
  120. # Will allow for more text display per variable.
  121. text_buffer_size 256
  122.  
  123. # Sets bars size even for bars that do not hace that function
  124. # IE: execbar and execibar
  125. default_bar_size 335 9
  126.  
  127. # 0 makes Conky run forever
  128. total_run_times 0
  129. cpu_avg_samples 1
  130. net_avg_samples 1
  131. no_buffers yes
  132.  
  133. # Defaults to 4MiB
  134. # Set to 0 to disable the image cache
  135. # Increase this value if you use $image lots
  136. imlib_cache_size 0
  137.  
  138. update_interval 3
  139.  
  140. # and for US users who are Metrically challenged
  141. # blame BoredOOMM
  142. temperature_unit fahrenheit
  143.  
  144. lua_load /home/bkberger/Conky/LUA/draw-bg.lua
  145. lua_draw_hook_pre draw_bg
  146.  
  147. # stuff after 'TEXT' will be formatted on screen
  148.  
  149. TEXT
  150. ${font Droid Sans Mono:bold:size=9}${color4}Welcome to Ursa-major${color8}${hr 2}
  151. ${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
  152. ${goto 46}Kernel: ${kernel}
  153. ${color3}${color}
  154. ${font StyleBats:size=10}${color2}A${font Droid Sans Mono:size=8}${color3} Intel Pentium Dual E2200${alignr}${freq_g cpu0} GHz
  155. ${font StyleBats:size=10}${color2}q${font Droid Sans Mono:size=8}${color3} System Uptime${alignr}${uptime_short}
  156. ${font StyleBats:size=10}${color2}o${font Droid Sans Mono:size=8}${color3} File System${alignr}${fs_type}${font}
  157. ${voffset 4}${font Droid Sans Mono:bold:size=8}${color4}Engine ${color8}${hr 2}
  158. ${voffset 4}${font StyleBats:size=10}${color2}k${voffset -1}${font Droid Sans Mono:size=8}${color3} CPU1 ${alignr}${cpu cpu1}%
  159. ${font StyleBats:size=10}${color2}k${voffset -1}${font Droid Sans Mono:size=8}${color3} CPU2 ${alignr}${cpu cpu2}%
  160. ${voffset 4}${font Droid Sans Mono:bold:size=8}${color4}Reserve Power${color8}${hr 2}
  161. ${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}%
  162.  
  163. ${font StyleBats:size=10}${color2}4${font Droid Sans Mono:size=8}${color3} SWAP${goto 95}${swap}${goto 133}/ ${swapmax}${alignr}${swapperc}%
  164. ${font Droid Sans Mono:bold:size=8.25}${color4}Communications ${color8}${hr 2}
  165. ${font PizzaDudeBullets:size=9.5}${color2}T${font Droid Sans Mono:size=8}${color3} Down${alignr}${downspeed wlan0}
  166. ${font PizzaDudeBullets:size=9.5}${color2}N${font Droid Sans Mono:size=8}${color3} Up${alignr}${upspeed wlan0}
  167. ${font PizzaDudeBullets:size=9.5}${color2}T${font Droid Sans Mono:size=8}${color3} Downloaded${alignr}${totaldown wlan0}
  168. ${font PizzaDudeBullets:size=9.5}${color2}N${font Droid Sans Mono:size=8}${color3} Uploaded${alignr}${totalup wlan0}
  169. ${voffset 4}${font Sans:bold:size=8.25}${color4}${wireless_essid wlan0}${color8}${hr 2}
  170. ${goto 80}${font Droid Sans:size=38}${color4}${time %H:%M:%S}${font}
  171. ${font}${color3}
  172. Forecast For: ${alignr}Porterville CA (Elev. 479 ft)
  173. Lat/Lon: ${execi 86400 conkyLatLong}
  174. 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}%
  175. 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}
  176. ${execi 300 /home/bkberger/Conky/getsun.sh}
  177. ${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}
  178. ${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}
  179. ${goto 55}L: ${font digitalk:bold:size=10}${execpi 600 sed -n '2p' /home/bkberger/accuweather_conky_USA/temperatures}${font Orbitron:size=8}
  180. ${execpi 600 sed -n '2p' /home/bkberger/accuweather_conky_USA/messages|fold -s -w 18}
  181. ${font Orbitron:size=8}${color4}${execpi 600 sed -n '2p' /home/bkberger/accuweather_conky_USA/days}${font}
  182. ${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}
  183. ${goto 55}L: ${font digitalk:bold:size=10}${execpi 600 sed -n '4p' /home/bkberger/accuweather_conky_USA/temperatures}${font Orbitron:size=8}
  184. ${execpi 600 sed -n '5p' /home/bkberger/accuweather_conky_USA/messages|fold -s -w 18}
  185. ${font Orbitron:size=8}${color4}${execpi 600 sed -n '3p' /home/bkberger/accuweather_conky_USA/days}${font}
  186. ${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}
  187. ${goto 55}L: ${font digitalk:bold:size=10}${execpi 600 sed -n '6p' /home/bkberger/accuweather_conky_USA/temperatures}${font}
  188. ${execpi 600 sed -n '8p' /home/bkberger/accuweather_conky_USA/messages|fold -s -w 18}${font Droid Sans:bold:size=8.25}
  189. #${color4}Chronometer ${color8}${hr 2}
  190. ${goto 95}${font Droid Sans Mono:size=10}${color3}${execp gcal --starting-day=Sunday | sed -e 's/^.//g' -e 's/</${color9} /' -e 's/>/${color3} /'}
  191.  
  192.  
  193.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement