Code: Select all
# pkill -xf "conky -c /home/USER/eadwine/conkyrc9
# 2018-06-26 @male for @Eadwine Rose
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,skip_taskbar,skip_pager,below
#own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 80
own_window_class Conky
minimum_size 670 370
#maximum_width 655
gap_x 30 # l|r
gap_y 310 # u|d
#alignment tl
alignment tl
use_xft yes
xftfont GE Inspira:size=10
xftalpha 1
override_utf8_locale yes
draw_shades no
default_shade_color 000000
draw_outline no
default_outline_color 000000
default_color ffffff
color1 778899
color2 FFA07A
color3 87CEFA
color4 48D1CC
color5 FFDEAD
color6 00BFFF
color7 ffffff
color8 FFD700
color9 ffffff
draw_borders no
stippled_borders 5
border_inner_margin 5
border_outer_margin 0
border_width 2
draw_graph_borders no
background no
use_spacer none
no_buffers yes
double_buffer yes
update_interval 1
lua_load /home/rich/.conky/eadwine/LUA/image.lua
TEXT
##### Start #####
${execi 600 bash $HOME/1_accuweather/1_accuweather -f2015 -h2015}
##### Zeit #####
#${voffset -35}${font GE Inspira:size=30}${time %I:%M}${font GE Inspira:size=20}${color 808080}${goto 180}$color$font
##### Datum #####
#${voffset -55}${font GE Inspira:size=14}${alignc 50}${time %A, %d %B %Y}$font
##### Wind-Info-Anzeige ######
${goto 10}${font GE Inspira:size=12}Wind : ${execi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 10}Humidity : ${execi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 10}Pressure : ${execi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
#### Stadt ####
${voffset 10}${font GE Inspira:size=14}Charlotte, NY${font} ${execi 600 sed -n '1p' $HOME/1_accuweather/aktualisiert}
${font GE Inspira:size=18}${goto 135}${execi 600 sed -n '2p' $HOME/1_accuweather/curr_cond} °F ${font} ${offset -160}Current : ${offset 100}Feels : ${voffset -15}${font GE Inspira:size=18}${execi 600 sed -n '3p' $HOME/1_accuweather/curr_cond} °F
${goto 555}${voffset -180}${font ubuntu:size=11}N $font
${goto 522}${voffset 8}${font Ubuntu:size=6}NNW ${goto 583}NNE$font
${goto 493}${voffset -6}${font Ubuntu:size=9}NW ${goto 611}NE$font
${goto 486}${voffset 10}${font Ubuntu:size=6}WNW${goto 618}ENE$font
${goto 468}${voffset 5}${font Ubuntu:size=11}W ${goto 641}E$font
${goto 486}${voffset 9}${font Ubuntu:size=6}WSW ${goto 618}ESE
${goto 493}${voffset 16}${font Ubuntu:size=9}SW ${goto 611}SE$font
${goto 522}${voffset -4}${font Ubuntu:size=6}SSW ${goto 583}SSE
${goto 555}${voffset 4}${font Ubuntu:size=11}S $font
#### Anzeige der nächsten drei Stunden und drei Tage ####
${voffset -95}
${goto 20}${tztime GMT+1 %I %p}\
${goto 95}${tztime GMT %I %p}\
${goto 170}${execi 3600 date --date='1 day' '+%a %e'}\
${goto 245}${execi 3600 date --date='2 day' '+%a %e'}\
${goto 320}${execi 3600 date --date='3 day' '+%a %e'}\
${goto 395}${execi 3600 date --date='4 day' '+%a %e'}
##### Temperaturanzeige #####
${voffset 25}
${goto 30}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
${goto 105}${execi 600 sed -n '33p' $HOME/1_accuweather/hourly1}°\
${goto 170}${color9}${execi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${color}\
${goto 245}${color9}${execi 600 sed -n '13p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '14p' $HOME/1_accuweather/first_days}°${color}\
${goto 325}${color9}${execi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${color}\
${goto 400}${color9}${execi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${color}/${color7}${execi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${color}
#### Icons aktuelle Bedingungen und Wind ####
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_0.png 200 20 200 125 0}${lua fDrawImage $HOME/1_accuweather/forecast_2015/wind_0.png 470 60 190 190 0}\
#### Icons für die nächsten 3 Stunden und 3 Tage ####
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_2.png 10 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/hourly_2015/hourly_3.png 85 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_2.png 160 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_3.png 235 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_4.png 310 235 70 40 0}\
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_5.png 385 235 70 40 0}\
${voffset -800}