diff --git a/README.md b/README.md index e664bd3..4d7714f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A simple conky to show time from different timezones + `git clone https://gitlab.com/ceda_ei/tz-conky` + `cd tz-conky` -+ `conky -c tz-conky` ++ `conky -c tz_conky` # Configuration diff --git a/tz_conky b/tz_conky index 0d263ac..688586d 100644 --- a/tz_conky +++ b/tz_conky @@ -1,30 +1,34 @@ -alignment bottom_middle -background no -border_width 5 -default_color ffffff -double_buffer yes -draw_borders no -draw_outline no -draw_shades no -gap_x 0 -gap_y 50 -maximum_width 1000 -minimum_size 175 -no_buffers yes -override_utf8_locale yes -own_window yes -own_window_title conky -own_window_class Conky -own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager -own_window_transparent yes -own_window_type override -text_buffer_size 8000 -total_run_times 0 -update_interval 1 -uppercase no -use_xft yes -xftalpha 1 -default_color ffffff +conky.config = { + alignment = 'bottom_middle', + background = false, + border_width = 5, + default_color = '#ffffff', + double_buffer = true, + draw_borders = false, + draw_outline = false, + draw_shades = false, + gap_x = 0, + gap_y = 50, + maximum_width = 1000, + minimum_width = 175, + no_buffers = true, + override_utf8_locale = true, + own_window = true, + own_window_title = 'conky', + own_window_class = 'Conky', + own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', + own_window_transparent = true, + own_window_type = 'override', + text_buffer_size = 8000, + total_run_times = 0, + update_interval = 1, + uppercase = false, + use_xft = true, + xftalpha = 1, + out_to_x = false, + out_to_wayland = true, +}; -TEXT +conky.text = [[ ${execp ./tz.sh} +]];