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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
conky.config = {
--Various settings
background = true, -- forked to background
cpu_avg_samples = 2,
diskio_avg_samples = 10,
double_buffer = true,
if_up_strictness = 'address',
net_avg_samples = 2,
no_buffers = true,
temperature_unit = 'celsius',
text_buffer_size = 2048,
update_interval = 2,
imlib_cache_size = 0,
--Placement
alignment = 'top_right',
gap_x = 30,
gap_y = 50,
minimum_height = 200,
minimum_width = 200,
maximum_width = 550,
--Graphical
border_inner_margin = 10,
-- margin between border and text
border_outer_margin = 0,
-- margin between border and edge of window
border_width = 0,
-- border width in pixels
default_bar_width = 280,
default_bar_height = 2,
default_gauge_height = 25,
default_gauge_width =40,
default_graph_height = 40,
default_graph_width = 153,
default_shade_color = '#000000',
default_outline_color = '#828282',
draw_borders = false,
--draw borders around text
draw_graph_borders = true,
draw_shades = false,
draw_outline = false,
stippled_borders = 0,
--Textual
extra_newline = false,
format_human_readable = true,
font = 'Open Sans',
max_text_width = 0,
max_user_text = 16384,
override_utf8_locale = false,
short_units = true,
top_name_width = 21,
top_name_verbose = false,
uppercase = false,
use_spacer = 'none',
use_xft = true,
xftalpha = 1,
--Windows
own_window = true,
own_window_argb_value = 0,
own_window_argb_visual = true,
own_window_class = 'Conky',
own_window_colour = '#000000',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = yes,
own_window_title = 'Conky',
own_window_type = 'desktop',
--Colors
default_color = '#BFDDB2',
color1 = '#BFDDB2',
};
conky.text = [[
${alignc}${font Sarasa Mono K:weight=Regular:size=24}Todo${color0}${font}
${voffset 15}${font Sarasa Mono K:weight=Light:size=18}${color1}\
${exec awk '{printf "%d. %s\n", NR, $0}' < "$HOME/todo.md" | fmt --width=30 -s}${color1}${font}
]]
|