-
Notifications
You must be signed in to change notification settings - Fork 1
/
conkyrc-example
154 lines (122 loc) · 6.14 KB
/
conkyrc-example
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
-- Conky Config generated by conkyrc-generator
conky.config = {
-- Running Settings
out_to_console = false,
update_interval = 2.0,
music_player_interval = 2.0,
total_run_times = 0,
background = false,
-- Window Settings
own_window = true,
own_window_type = "desktop",
own_window_transparent = false,
own_window_colour = "090909",
double_buffer = false,
minimum_height = 1256,
minimum_width = 190,
maximum_width = 190,
draw_borders = false,
draw_shades = false,
alignment = "top_right",
gap_x = 5,
gap_y = 24,
-- Text Settings
draw_shades = false,
draw_outline = false,
use_xft = true,
font = "dejavu sans mono:size=8",
xftalpha = 1,
-- Display Settings
default_shade_color = "gray",
short_units = true,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = "none",
draw_graph_borders = true,
default_bar_height = 5,
default_bar_width = 190,
show_graph_range = false,
use_spacer = "left",
-- Default Colors
default_color = "dddddd",
color0 = "ff8c00",
color1 = "202020",
mpd_host = "127.0.0.1",
text_buffer_size = 512,
lua_load = "~/.conky/ping.lua",
template0 = [[${alignc}${color}-----------|--|--|------------]],
template1 = [[${offset 79}${color1}${font Conky Symbols:size=18}\1${font}${voffset -5}]],
template2 = [[${offset 79}${color1}${font Conky Symbols:size=18}\1${font}${voffset -9} \2${voffset 4}]],
};
-- icons from https://icons8.com/
conky.text = [[
${color0}Linux $kernel${alignr}$machine
${color}Host ${color0}$nodename ${alignr}${color}Uptime ${color0}$uptime
${template2 A i7-3770}
${color}Running${alignr}${color0}$running_processes /$processes
${color0}${loadavg}${alignr}${color1}${loadgraph 9, 90 ff8c00 ff8c00}
${color0}${freq_g 1}GHz${platform coretemp.0/hwmon/hwmon0 temp 2}C ${alignr}${cpu cpu1}% ${color1}${cpugraph cpu1 9, 90 ff8c00 ff8c00}
${color0}${freq_g 2}GHz${platform coretemp.0/hwmon/hwmon0 temp 3}C ${alignr}${cpu cpu2}% ${color1}${cpugraph cpu2 9, 90 ff8c00 ff8c00}
${color0}${freq_g 3}GHz${platform coretemp.0/hwmon/hwmon0 temp 4}C ${alignr}${cpu cpu3}% ${color1}${cpugraph cpu3 9, 90 ff8c00 ff8c00}
${color0}${freq_g 4}GHz${platform coretemp.0/hwmon/hwmon0 temp 5}C ${alignr}${cpu cpu4}% ${color1}${cpugraph cpu4 9, 90 ff8c00 ff8c00}
${color0}${freq_g 5}GHz${platform coretemp.0/hwmon/hwmon0 temp 6}C ${alignr}${cpu cpu5}% ${color1}${cpugraph cpu5 9, 90 ff8c00 ff8c00}
${color0}${freq_g 6}GHz${platform coretemp.0/hwmon/hwmon0 temp 7}C ${alignr}${cpu cpu6}% ${color1}${cpugraph cpu6 9, 90 ff8c00 ff8c00}
${color0}${freq_g 7}GHz${platform coretemp.0/hwmon/hwmon0 temp 8}C ${alignr}${cpu cpu7}% ${color1}${cpugraph cpu7 9, 90 ff8c00 ff8c00}
${color0}${freq_g 8}GHz${platform coretemp.0/hwmon/hwmon0 temp 9}C ${alignr}${cpu cpu8}% ${color1}${cpugraph cpu8 9, 90 ff8c00 ff8c00}
${color}proc cpu%${alignr}time${color0}
${top name 1}${top cpu 1}${alignr}${top time 1}
${top name 2}${top cpu 2}${alignr}${top time 2}
${top name 3}${top cpu 3}${alignr}${top time 3}
${top name 4}${top cpu 4}${alignr}${top time 4}
${template2 D 7.82\ GiB}
${color}Used ${color0}${mem}
${color}Cached ${color0}${cached}
${color}Buffers ${color0}${buffers}${voffset -24}${alignr}${color1}${memgraph 28, 90 ff8c00 ff8c00}
${voffset -4}
${color}proc res${alignr}mem%${color0}
${top_mem name 1}${top_mem mem_res 1}${alignr}${top_mem mem 1}
${top_mem name 2}${top_mem mem_res 2}${alignr}${top_mem mem 2}
${top_mem name 3}${top_mem mem_res 3}${alignr}${top_mem mem 3}
${template1 E}
${color}fs ${alignr}used% ${alignr}used ${alignr}total${color0}
${color}/usr/portage ${alignr}${color0}${fs_used_perc /usr/portage}% ${alignr}${fs_used /usr/portage} ${alignr}${fs_size /usr/portage}
${color}/mnt/big ${alignr}${color0}${fs_used_perc /mnt/big}% ${alignr}${fs_used /mnt/big} ${alignr}${fs_size /mnt/big}
${color}/mnt/extra ${alignr}${color0}${fs_used_perc /mnt/extra}% ${alignr}${fs_used /mnt/extra} ${alignr}${fs_size /mnt/extra}
${color}/ ${alignr}${color0}${fs_used_perc /}% ${alignr}${fs_used /} ${alignr}${fs_size /}
${color}/var ${alignr}${color0}${fs_used_perc /var}% ${alignr}${fs_used /var} ${alignr}${fs_size /var}
${color}/home ${alignr}${color0}${fs_used_perc /home}% ${alignr}${fs_used /home} ${alignr}${fs_size /home}
${color}/tmp ${alignr}${color0}${fs_used_perc /tmp}% ${alignr}${fs_used /tmp} ${alignr}${fs_size /tmp}
${color}proc read${alignr}write${color0}
${top_io name 1}${top_io io_read 1}$alignr${top_io io_write 1}
${top_io name 2}${top_io io_read 2}$alignr${top_io io_write 2}
${top_io name 3}${top_io io_read 3}$alignr${top_io io_write 3}
${voffset -5}
${color} sda${alignr}${color}R ${color0}${diskio_read sda} $color1${diskiograph_read sda 9, 90 ff8c00 ff8c00}
${color0}${hddtemp /dev/sda}C${alignr}${color}W ${color0}${diskio_write sda} $color1${diskiograph_write sda 9, 90 ff8c00 ff8c00}
${voffset -5}
${color} sdb${alignr}${color}R ${color0}${diskio_read sdb} $color1${diskiograph_read sdb 9, 90 ff8c00 ff8c00}
${color0}${hddtemp /dev/sdb}C${alignr}${color}W ${color0}${diskio_write sdb} $color1${diskiograph_write sdb 9, 90 ff8c00 ff8c00}
${template1 S}
${color}Connections ${alignr}${color0}${tcp_portmon 1 65535 count}
${color}Router ${alignr}${lua_parse router_ping_string} ${color1}${lua_graph router_ping 9,90 ff8c00 ff8c00}
${voffset -5}
${color}lan0${alignr}U ${color0}${upspeed lan0} $color1${upspeedgraph lan0 9, 90 ff8c00 ff8c00}
${color}${alignr}D ${color0}${downspeed lan0} $color1${downspeedgraph lan0 9, 90 ff8c00 ff8c00}
${voffset -5}
${color}lan0.1${alignr}U ${color0}${upspeed lan0.1} $color1${upspeedgraph lan0.1 9, 90 ff8c00 ff8c00}
${color}${alignr}D ${color0}${downspeed lan0.1} $color1${downspeedgraph lan0.1 9, 90 ff8c00 ff8c00}
${template1 r}
${color}Last sync ${alignr} ${color0}${execi 300 ~/scripts/lastsync days}
${color}Last update ${alignr} ${color0}${execi 300 ~/scripts/lastupdate days}
${color}Security updates ${alignr} ${color0}${lines /var/tmp/glsa_status}
${template1 g}
${execpi 60 ~/.conky/transmission-status.py 127.0.0.1}
${template1 a}
${if_mpd_playing}${alignc}${color0}${mpd_title}
${color0}${mpd_bar 4, 190}
${else}${alignc}${color0}Not playing
${endif}
]]