Advertisement
BoredOOMM

NOAA conkyrc

Oct 25th, 2011
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. # UBUNTU-CONKY
  2. #NOAA-Weather
  3.  
  4. # Create own window instead of using desktop (required in nautilus)
  5. own_window yes
  6. own_window_type override
  7. own_window_transparent yes
  8. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  9.  
  10. # Use double buffering (reduces flicker, may not work for everyone)
  11. double_buffer yes
  12.  
  13. # fiddle with window
  14. use_spacer yes
  15. use_xft yes
  16.  
  17. # Update interval in seconds
  18. update_interval 3.0
  19.  
  20. # Minimum size of text area
  21. minimum_size 250 5
  22.  
  23. override_utf8_locale yes
  24.  
  25. # Draw shades?
  26. draw_shades yes
  27.  
  28. # Text stuff
  29. draw_outline yes # amplifies text if yes
  30. draw_borders no
  31. #font FreeSans -11
  32. xftfont freesans:pixelsize=11
  33. uppercase no # set to yes if you want all text to be in uppercase
  34.  
  35. # Stippled borders?
  36. stippled_borders 3
  37.  
  38. # border margins
  39. border_margin 9
  40.  
  41. # border width
  42. border_width 10
  43.  
  44. # Default colors and also border colors, grey90 == #e5e5e5
  45. default_color Grey
  46. Color1 Cyan
  47. Color3 Light Gray
  48. Color9 red
  49.  
  50.  
  51. own_window_colour brown
  52. own_window_transparent yes
  53.  
  54. # Text alignment, other possible values are commented
  55. #alignment top_left
  56. #alignment top_right
  57. alignment bottom_left
  58. #alignment bottom_right
  59.  
  60. # Gap between borders of screen and text
  61. gap_x 10
  62. gap_y 100
  63.  
  64. maximum_width 800
  65.  
  66. # stuff after 'TEXT' will be formatted on screen
  67.  
  68. TEXT
  69.  
  70. ${goto 30}${voffset 0}${font Droid Sans:size=38}${color9}${time %H}${voffset -14}${font LCDMono:bold:size=20}:${time %M}
  71. ${font LCDMono:bold:size=10}${goto 97}${voffset -15}${time %S}${font}${color3}
  72. Forecast For:
  73. Porterville CA (Elev. 479 ft)
  74. Lat/Lon: ${execi 86400 conkyLatLong}
  75.  
  76. ${execi 1800 /home/bkberger/Conky/weather.sh 93257}
  77.  
  78. Humidity:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV humidity}%
  79. Wind speed:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV wind_speed}mph
  80. Wind direction:${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KPTV wind_dir}
  81.  
  82. ${execi 1800 sh $HOME/conky_weather/weather_script.sh}
  83. ${font conkyweather:size=35}${execi 600 sed -n '4p' $HOME/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '1p' $HOME/conky_weather/weather1}
  84.  
  85.  
  86. ${rss http://rss.accuweather.com/rss/liveweather_rss.asp?locCode=93257 10 item_title 1}
  87. ${font conkyweather:size=35}${execi 600 sed -n '5p' $HOME/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '2p' $HOME/conky_weather/weather1}
  88.  
  89.  
  90. ${rss http://rss.accuweather.com/rss/liveweather_rss.asp?locCode=93257 10 item_title 2}
  91. ${font conkyweather:size=35}${execi 600 sed -n '6p' $HOME/conky_weather/weather1}${font} ${voffset -20}${execi 600 sed -n '3p' $HOME/conky_weather/weather1}
  92.  
  93.  
  94. ${texeci 600 bash ~/conky_forecast_nws/NWSforecast.sh}
  95. ${Color9}${execi 600 sed -n '1p' ~/conky_forecast_nws/t} ${hr 2}${color}
  96. #${image ~/conky_forecast_nws/1.jpg -p 210,200 -s 38x40}
  97. ${execi 600 sed -n '2p' ~/conky_forecast_nws/d | fold -w50}
  98.  
  99. ${Color9}${execi 600 sed -n '2p' ~/conky_forecast_nws/t} ${hr 2}${color}
  100. #${image ~/conky_forecast_nws/2.jpg -p 210,255 -s 38x40}
  101. ${execi 600 sed -n '4p' ~/conky_forecast_nws/d}
  102.  
  103. ${Color9}${execi 600 sed -n '3p' ~/conky_forecast_nws/t} ${hr 2}${color}
  104. #${image ~/conky_forecast_nws/3.jpg -p 210,310 -s 38x40}
  105. ${execi 600 sed -n '6p' ~/conky_forecast_nws/d}
  106.  
  107. ${Color9}${execi 600 sed -n '4p' ~/conky_forecast_nws/t} ${hr 2}${color}
  108. #${image ~/conky_forecast_nws/4.jpg -p 210,365 -s 38x40}
  109. ${execi 600 sed -n '8p' ~/conky_forecast_nws/d}
  110.  
  111. ${Color9}${execi 600 sed -n '5p' ~/conky_forecast_nws/t} ${hr 2}${color}
  112. #${image ~/conky_forecast_nws/5.jpg -p 210,420 -s 38x40}
  113. ${execi 600 sed -n '10p' ~/conky_forecast_nws/d}
  114.  
  115. ${Color9}${execi 600 sed -n '6p' ~/conky_forecast_nws/t} ${hr 2}${color}
  116. #${image ~/conky_forecast_nws/6.jpg -p 210,480 -s 38x40}
  117. ${execi 600 sed -n '12p' ~/conky_forecast_nws/d}
  118.  
  119. ${Color9}${execi 600 sed -n '7p' ~/conky_forecast_nws/t} ${hr 2}${color}
  120. #${image ~/conky_forecast_nws/7.jpg -p 210,535 -s 38x40}
  121. ${execi 600 sed -n '14p' ~/conky_forecast_nws/d}
  122.  
  123.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement