-
Notifications
You must be signed in to change notification settings - Fork 31
/
conky.conf
85 lines (69 loc) · 2.82 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
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
conky.config = {
use_xft= true,
xftalpha= .1,
update_interval= 1,
total_run_times= 0,
background= true,
own_window= true,
own_window_type= 'desktop',
own_window_transparent= true,
own_window_hints= 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour= '000000',
own_window_argb_visual= true,
own_window_argb_value= 0,
double_buffer= true,
minimum_width= 270,
maximum_width= 270,
minimum_height= 10,
draw_shades= false,
draw_outline= false,
draw_borders= false,
draw_graph_borders= false,
default_color= 'FFFFFF',
default_shade_color= '333333',
default_outline_color= 'black',
color1 = 'A9A9A9',
color3 = '616161',
alignment= 'top_right',
gap_x= 56,
gap_y= 0,
no_buffers= true,
text_buffer_size = 2048,
uppercase= false,
cpu_avg_samples= 4,
net_avg_samples = 2,
override_utf8_locale= true,
font= 'Ubuntu:style=medium:size=9'
}
conky.text = [[
${color1}
${voffset 50}
${alignr}${font Ubuntu:style=Medium:pixelsize=50}${time %H:%M}${font}
${voffset 5}
${alignr}${font Ubuntu:style=Medium:pixelsize=13}${time %A %d %B %Y}${font}
${voffset 250}
${font Font Awesome 5 Free:style=Solid:size=10}${font} ${alignr}${if_match "${addr enp3s0}"!="No Address"} [FILAIRE] ${addr enp3s0}${endif}${if_match "${addr wlp4s7}"!="No Address"}[WIFI] ${addr wlp4s7}${endif}
${hr}
${font Font Awesome 5 Free:style=Solid:size=10}${font} ${alignr}${exec curl ipinfo.io/ip}
${font Font Awesome 5 Free:style=Solid:size=10}${font} disques ${alignr}${hddtemp /dev/sda}°.${hddtemp /dev/sdb}°.${hddtemp /dev/sdc}°
# .${hddtemp /dev/sdd}°.${hddtemp /dev/sde}°.${hddtemp /dev/sdf}°.
${hr}
${font Font Awesome 5 Free:style=Solid:size=10}${font} cpu ${alignr}${hwmon 0 temp 1}°.${hwmon 0 temp 2}°.${hwmon 0 temp 3}°
${font Font Awesome 5 Free:style=Solid:size=10}${font} ventilo ${alignr}${hwmon 0 fan 1} tour/min
${color3}${cpugraph cpu1 50,133 5e7b7b d8deeb -t} ${cpugraph cpu2 50,133 5e7b7b d8deeb -t}
${cpugraph cpu3 50,133 5e7b7b d8deeb -t} ${cpugraph cpu4 50,133 5e7b7b d8deeb -t}
${if_match "${addr enp3s0}"!="No Address"}
${color3}${downspeedgraph enp3s0 50,269 5e7b7b d8deeb}
${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font} download ${alignr}${downspeedf enp3s0}k/s (${totaldown enp3s0})
${hr}
${font Font Awesome 5 Free:style=Solid:size=10}${font} upload ${alignr}${upspeedf enp3s0}k/s (${totalup enp3s0})
${color3}${upspeedgraph enp3s0 50,269 99c8e8 618094}
${endif}
${if_match "${addr wlp4s7}"!="No Address"}
${color3}${downspeedgraph wlp4s7 50,269 5e7b7b d8deeb}
${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font} download ${alignr}${downspeedf wlp4s7}k/s (${totaldown wlp4s7})
${hr}
${font Font Awesome 5 Free:style=Solid:size=10}${font} upload ${alignr}${upspeedf wlp4s7}k/s (${totalup wlp4s7})
${color3}${upspeedgraph wlp4s7 50,269 99c8e8 618094}
${endif}
]]