Advertisement
BoredOOMM

moreweatherconky

Nov 7th, 2011
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. ### Begin Window Settings ##################################################
  2. # Create own window instead of using desktop (required in nautilus)
  3. own_window yes
  4. own_window_type override
  5. own_window_transparent yes
  6. own_window_hints below,sticky,skip_taskbar,skip_pager
  7. # own_window_colour brown
  8. own_window_class Conky
  9. own_window_title Wunderground Bs As
  10.  
  11. ### ARGB can be used for real transparency
  12. ### NOTE that a composite manager is required for real transparency.
  13. ### This option will not work as desired (in most cases) in conjunction with
  14. ### 'own_window_type override'
  15. # own_window_argb_visual yes
  16. ### When ARGB visuals are enabled, this use this to modify the alpha value
  17. ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
  18. #own_window_argb_value 0
  19.  
  20. minimum_size 350 0 ## width, height
  21. maximum_width 800 ## width - usually a good idea to equal minimum width.
  22.  
  23. gap_x 10 ## left &right
  24. gap_y 10 ## up & down
  25.  
  26. alignment bottom_right
  27. #################################################### End Window Settings ###
  28. ### Font Settings ##########################################################
  29. # Use Xft (anti-aliased font and stuff)
  30. use_xft yes
  31. xftfont monospace:size=8
  32. # Alpha of Xft font. Must be a value at or between 1 and 0 ###
  33. xftalpha 0
  34. # Force UTF8? requires XFT ###
  35. override_utf8_locale yes
  36.  
  37. draw_shades no
  38. draw_outline no
  39. uppercase no
  40.  
  41. draw_outline no # amplifies text if yes
  42. ###################################################### End Font Settings ###
  43. ### Color Settings #########################################################
  44. default_shade_color grey
  45. default_outline_color black
  46.  
  47. default_color DCDCDC #Gainsboro
  48. color0 DAA520 #Goldenrod FFFFF0 #Ivory
  49. color1 778899 #LightSlateGrey
  50. color2 FF8C00 #Darkorange
  51. color3 7FFF00 #Chartreuse
  52. color4 FFA07A #LightSalmon
  53. color5 FFDEAD #NavajoWhite
  54. color6 00BFFF #DeepSkyBlue
  55. color7 00FFFF #Cyan 48D1CC #MediumTurquoise
  56. color8 FFFF00 #Yellow
  57. color9 FF0000 #Red
  58. ##################################################### End Color Settings ###
  59. ### Borders Section ########################################################
  60. draw_borders no
  61. # Stippled borders?
  62. stippled_borders 0
  63. # border margins
  64. border_inner_margin 5
  65. # border width
  66. border_width 0
  67. ##################################################### End Borders Secton ###
  68.  
  69.  
  70. # Use the Xdbe extension? (eliminates flicker)
  71. # It is highly recommended to use own window with this one so
  72. # double buffer won't be so big
  73. double_buffer yes
  74.  
  75. # Adds spaces around certain objects to stop them
  76. # from moving other things around.
  77. # only works with mono fonts
  78. use_spacer right
  79. # Arguments are left, right, and none (default)
  80.  
  81. # Size of the standard text buffer (default is 256 bytes).
  82. # Will allow for more text display per variable.
  83. text_buffer_size 256
  84.  
  85. # Sets bars size even for bars that do not hace that function
  86. # IE: execbar and execibar
  87. default_bar_size 335 9
  88.  
  89. # 0 makes Conky run forever
  90. total_run_times 0
  91. cpu_avg_samples 1
  92. net_avg_samples 1
  93. no_buffers yes
  94.  
  95. # Defaults to 4MiB
  96. # Set to 0 to disable the image cache
  97. # Increase this value if you use $image lots
  98. imlib_cache_size 0
  99.  
  100. update_interval 0
  101. minimum_size 850 150
  102. maximum_width 850
  103.  
  104. lua_load ~/Conky/LUA/draw-bg.lua
  105. #lua_draw_hook_pre draw_bg
  106.  
  107. lua_load ~/lua/moreweather2.lua
  108. lua_draw_hook_pre weather
  109.  
  110. TEXT
  111.  
  112. ${lua conky_draw_bg 10 0 0 850 255 0x000000 0.2}
  113. ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
  114. ${lua conky_weather}
  115.  
  116.  
  117.  
  118.  
  119.  
  120. ${font Liberation Sans Regular L:size=38}${color1}${time %H:%M:%S}${font Liberation Serif L:size=15}${goto 280}${voffset -25}${execpi 1800 sed -n '2p' /home/bkberger/accuweather_conky_USA/current}°${goto 280}${voffset 20}${execpi 1800 sed -n '1p' /home/bkberger/accuweather_conky_USA/current|fold -w30}${font}
  121. ${goto 280}${color1}Sunrise: ${execpi 1800 sed -n '14p' /home/bkberger/accuweather_conky_USA/current}${goto 400}Sunset: ${execpi 1800 sed -n '18p' /home/bkberger/accuweather_conky_USA/current}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement