1
0
mirror of https://gitlab.com/ceda_ei/tz-conky synced 2025-12-24 17:30:04 +01:00

Update to newer conky syntax

This commit is contained in:
2025-12-16 18:37:26 +05:30
parent 77b8485966
commit 16fb4ad25e
2 changed files with 33 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ A simple conky to show time from different timezones
+ `git clone https://gitlab.com/ceda_ei/tz-conky` + `git clone https://gitlab.com/ceda_ei/tz-conky`
+ `cd tz-conky` + `cd tz-conky`
+ `conky -c tz-conky` + `conky -c tz_conky`
# Configuration # Configuration

View File

@@ -1,30 +1,34 @@
alignment bottom_middle conky.config = {
background no alignment = 'bottom_middle',
border_width 5 background = false,
default_color ffffff border_width = 5,
double_buffer yes default_color = '#ffffff',
draw_borders no double_buffer = true,
draw_outline no draw_borders = false,
draw_shades no draw_outline = false,
gap_x 0 draw_shades = false,
gap_y 50 gap_x = 0,
maximum_width 1000 gap_y = 50,
minimum_size 175 maximum_width = 1000,
no_buffers yes minimum_width = 175,
override_utf8_locale yes no_buffers = true,
own_window yes override_utf8_locale = true,
own_window_title conky own_window = true,
own_window_class Conky own_window_title = 'conky',
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_class = 'Conky',
own_window_transparent yes own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_type override own_window_transparent = true,
text_buffer_size 8000 own_window_type = 'override',
total_run_times 0 text_buffer_size = 8000,
update_interval 1 total_run_times = 0,
uppercase no update_interval = 1,
use_xft yes uppercase = false,
xftalpha 1 use_xft = true,
default_color ffffff xftalpha = 1,
out_to_x = false,
out_to_wayland = true,
};
TEXT conky.text = [[
${execp ./tz.sh} ${execp ./tz.sh}
]];