# .conky/conkyrc.weather # draw barometer # Conky settings # background no update_interval 1 cpu_avg_samples 2 net_avg_samples 2 override_utf8_locale yes double_buffer yes no_buffers yes text_buffer_size 2048 #imlib_cache_size 0 temperature_unit fahrenheit # Window specifications # own_window yes # If own_window is yes, you may use type normal, desktop or override # 2015-12-10 commented-out settings below are ordinarily fine # current SLiM+xfce4 4.8 require desktop + own_window_argb_visual + _value # xfce require compositing ON ((menu):Settings→Windows Manager Tweaks) # else not transparent or SLiM background shows under # own_window_type normal own_window_type normal # own_window_transparent yes own_window_argb_visual yes own_window_argb_value 0 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager border_inner_margin 6 border_outer_margin 3 minimum_size 250 250 ## width, height maximum_width 250 ### top_left, top_right, top_middle, bottom_left, bottom_right, bottom_middle ### middle_left, middle_middle, middle_right, or none alignment bl gap_x 0 gap_y 30 # Graphics settings # draw_shades no draw_outline no draw_borders no draw_graph_borders no # Text settings # use_xft yes xftfont ubuntu:size=8 xftalpha 0.5 uppercase no temperature_unit celsius default_color FFFFFF # Lua Load # lua_load ~/.lua/scripts/weather.lua lua_draw_hook_pre conky_draw_test # EGNX = East Midlands # EGXW = Waddington # see http://www.aviationweather.gov/metar?zoom=8&lat=53.24716&lon=-1.11957&layers=B00FTTFFTFFTT&plottype=model&scale=1&density=all&metric=true&decoded=false&taf=true # or see http://weather.noaa.gov/weather/GB_cc.html # ${font ubuntu:size=10}${alignr}East Midlands Airport${font} TEXT #${voffset 230}${font ubuntu:size=12}${color FFFFFF} #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX last_update 30} #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX temperature 30} °C${font}${font ubuntu:size=8} #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX cloud_cover 30} #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX pressure 30}mBar #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX wind_speed 30}kph #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX wind_dir 30} #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX wind_dir_DEG 30} ° #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX humidity 30}% #${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EGNX weather 30}${font} #${lua conky_draw_bg 10 0 0 650 510 0x000000 0.5} #${lua conky_draw_test}