-
Notifications
You must be signed in to change notification settings - Fork 2
/
conky.conf
59 lines (41 loc) · 1.62 KB
/
conky.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
conky.config = {
update_interval = 2,
total_run_times = 0,
imlib_cache_size = 0,
double_buffer = true,
no_buffers = true,
background = true,
use_xft = true,
font = 'DejaVu Sans:size=9',
override_utf8_locale = true,
text_buffer_size = 2048,
own_window_class = 'Conky',
own_window = true,
own_window_type = 'panel',
xinerama_head = 0,
alignment = 'top_right',
gap_x = -1915,
gap_y = 190,
minimum_width = 200, minimum_height = 0,
maximum_width = 200,
default_bar_width = 60, default_bar_height = 8,
draw_shades = false,
default_color = '#cccccc',
color0 = 'white',
color1 = '#E07A1F',
color2 = 'white',
lua_load = './graph.lua',
lua_draw_hook_pre = 'main',
};
conky.text = [[
${font Digital Readout Thick Upright:size=54}${alignc}${time %H:%M}${font}
${font Digital Readout Thick Upright:size=19}${alignc}${time %a %d.%m.%Y}${font}
NightScout ${hr 2}
${alignc}${font Digital Readout Thick Upright:size=42}${execi 5 nsclientsh.sh -N --blood-sugar}${font}
${voffset -16}${goto 150}mmol/l
${font DejaVu Sans:size=26}${voffset -36}${goto 25}${execi 5 nsclientsh.sh -N --arrow}${font}
${voffset 3}${alignc}${execi 5 nsclientsh.sh -N --delta} (vor ${execi 5 nsclientsh.sh -N --time-ago} min)
${voffset 6}${alignc}IOB: ${execi 5 nsclientsh.sh -N --iob}U COB: ${execi 5 nsclientsh.sh -N --cob}g
${voffset 3}${alignc}TBR: ${execi 5 nsclientsh.sh -N --tbr-percent}% / ${execi 5 nsclientsh.sh -N --tbr-units}U/h (${execi 5 nsclientsh.sh -N --tbr-remaining} min)
${alignc}RES: ${execi 5 nsclientsh.sh -N --reservoir}U / ${execi 5 nsclientsh.sh -N --reservoir-percent}% ${execibar 5 10,50 nsclientsh.sh --reservoir-percent}
]];