-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconky.conf
153 lines (134 loc) · 6.54 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
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 = {
--Various settings
background = true,
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 = 1,
imlib_cache_size = 0,
out_to_wayland = true,
--Placement
alignment = 'top_left',
--Arch Duoscreen
--gap_x = -1910,
gap_x = 10,
gap_y = 10,
minimum_height = 300,
minimum_width = 375,
maximum_width = 375,
--Bildschirm
xinerama_head = 2,
--Graphical
border_inner_margin = 10,
border_outer_margin = 0,
border_width = 0,
default_bar_width = 80,
default_bar_height = 10,
default_gauge_height = 25,
default_gauge_width = 40,
default_graph_height = 40,
default_graph_width = 0,
default_shade_color = '#000000',
default_outline_color = '#000000',
draw_borders = false,
draw_graph_borders = true,
draw_shades = false,
draw_outline = false,
stippled_borders = 0,
--Textual
extra_newline = false,
format_human_readable = true,
font = 'Ubuntu:size=10',
max_text_width = 0,
max_user_text = 16384,
override_utf8_locale = true,
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 = 225,
own_window_argb_visual = true,
own_window_colour = '#000000',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_title = 'system_conky',
own_window_type = 'normal',
--Colours
default_color = '#ff7e7e',
color1 = '#FF0000',
color2 = '#7e7eff',
color3 = '#cccccc',
color4 = '#D9BC83',
color5 = '#7e3ebe',
color6 = '#FFFFFF',
--Signal Colours
color7 = '#C0FF00',
color8 = '#FFA726',
color9 = '#F1544B',
--Lua
};
conky.text = [[
${color6}${voffset 4}${font Ubuntu:size=36}${alignc}${time %H}:${time %M}:${time %S} Uhr${font}${color}
${color6}${voffset 4}${font Ubuntu:size=12}${alignc}Heute ist ${time %A}, der ${time %e}. ${time %B} ${time %Y}.${font}${color}
${color5}${font Roboto:size=10}${voffset 2}S Y S T E M ${hr 2}${font}${color}
${color2}Hostname:${color} ${alignr}${nodename}
${color2}OS: $alignr ${color}${execi 6000 lsb_release -d| awk '{$1=""; print $0}'} - Gen. ${execi 6000 readlink /nix/var/nix/profiles/system | cut -d'-' -f2}
${color2}Kernel: $alignr ${color} $kernel
${color2}Uptime:${color} ${alignr}${uptime}
${color5}${font Roboto:size=10}P R O C E S S O R ${hr 2}${font}${color}
${color2}CPU Model:${color} $alignr${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut --characters 1-17}
${color2}CPU Frequency:${color} $alignr${freq}MHz
${color2}CPU Temperature:${color} $alignr ${exec sensors | grep 'Tctl' | cut --characters 16-19}°C
${color2}CPU Usage: ${color} $alignr ${cpu}%
${color3}${cpubar cpu0 15,375}
${color2}Core 1:${color} ${cpu cpu1}% ${goto 100}${color2}Core 2:${color} ${cpu cpu2}% ${goto 200}${color2}Core 3:${color} ${cpu cpu3}% ${goto 300}${color2}Core 4:${color} ${cpu cpu4}%
${color2}Core 5:${color} ${cpu cpu5}% ${goto 100}${color2}Core 6:${color} ${cpu cpu6}% ${goto 200}${color2}Core 7:${color} ${cpu cpu7}% ${goto 300}${color2}Core 8:${color} ${cpu cpu8}%
${color5}${font Roboto:size=10}M E M O R Y ${hr 2}${font}${color}
${color2}Usage: ${color}$memperc% ${goto 165}${color2}Used: ${color}$mem ${alignr}${color2}Total: ${color}$memmax
${color3}${membar 15,374}
${color7}SWAP ${color2}Used: ${color}$swap (${swapperc}%) ${color2}$alignr Total: ${color}$swapmax ${color3} ${swapbar 15,108}
${color5}${font Roboto:size=10}G R A P H I C S ${hr 2}${font}${color}
${color2}GPU Model: ${color}$alignr AMD Radeon RX 550
${color2}GPU Temperature: ${color}$alignr ${exec "sensors -u amdgpu-pci-1000 | grep -o 'temp1_input: [0-9]\{1,3\}\.[0-9]' | cut -c 14-"}°C ${color1}${goto 340}
${color2}GPU Usage: ${color}$alignr ${execi 5 radeontop -d- -l1 | grep -o 'gpu [0-9]\{1,3\}' | cut -c 5-7 }%
${color5}${color5}${font Roboto:size=10}N E T W O R K ${hr 2}${font}${color}
${color2}Internal IP Address: ${color} ${alignr}${addrs enp34s0}
${color2}External IP Address: ${color} ${alignr}127.0.0.1
${color2}Upload:${color}${alignr}${offset -10$}${upspeed enp34s0}${alignr}${color3}${upspeedgraph enp34s0 15,250 #ff7e7e #ff7e7e}
${color2}Download:${color}${alignr}${offset -10$}${downspeed enp34s0}${alignr}${color3}${downspeedgraph enp34s0 15,250 #7e7eff #7e7eff}
${color5}${font Roboto:size=10}D R I V E S ${hr 2}${font}${color}
${color}NVMe-SSD - WD Blue SN570 ${alignr}${color2}Used: ${color}${fs_used /} ${color2}Total: ${color}${fs_size /}
${color3}${fs_bar 15,375}
${color}HDD - TOSHIBA DT01ACA200 ${alignr}${color2}Used: ${color}${fs_used /home} ${color2}Total: ${color}${fs_size /home}
${color3}${fs_bar 15,375 /home}
${color}USB - TOSHIBA Canvio Flex ${alignr}${color2}Used: ${color}${fs_used /home/derbetakevin/USB} ${color2}Total: ${color}${fs_size /home/derbetakevin/USB}
${color3}${fs_bar 15,375 /home/derbetakevin/USB}
${color}Nextcloud - TOSHIBA MQ01UBD100 ${alignr}${color2}Used: ${color}${fs_used /home/derbetakevin/Nextcloud} ${color2}Total: ${color}${fs_size /home/derbetakevin/Nextcloud}
${color3}${fs_bar 15,375 /home/derbetakevin/Nextcloud}
${color5}${font Roboto:size=10}P R O C E S S E S ${hr 2}${font}${color}
${color2}Number of Running/All Processes: ${color} $alignr$running_processes/$processes
${color7}Top Processor ${goto 222}PID ${goto 280}CPU $alignr Mem
${color}${top name 1} ${goto 210}${top pid 1} ${goto 270}${top cpu 1}% $alignr${top mem 1}%
${color}${top name 2} ${goto 210}${top pid 2} ${goto 270}${top cpu 2}% $alignr${top mem 2}%
${color}${top name 3} ${goto 210}${top pid 3} ${goto 270}${top cpu 3}% $alignr${top mem 3}%
${color}${top name 4} ${goto 210}${top pid 4} ${goto 270}${top cpu 4}% $alignr${top mem 4}%
${color}${top name 5} ${goto 210}${top pid 5} ${goto 270}${top cpu 5}% $alignr${top mem 5}%
${color7}Top Memory ${goto 222}PID ${goto 280}Mem $alignr CPU
${color}${top_mem name 1} ${goto 210}${top_mem pid 1} ${goto 270}${top_mem mem 1}% $alignr${top_mem cpu 1}%
${color}${top_mem name 2} ${goto 210}${top_mem pid 2} ${goto 270}${top_mem mem 2}% $alignr${top_mem cpu 2}%
${color}${top_mem name 3} ${goto 210}${top_mem pid 3} ${goto 270}${top_mem mem 3}% $alignr${top_mem cpu 3}%
${color}${top_mem name 4} ${goto 210}${top_mem pid 4} ${goto 270}${top_mem mem 4}% $alignr${top_mem cpu 4}%
${color}${top_mem name 5} ${goto 210}${top_mem pid 5} ${goto 270}${top_mem mem 5}% $alignr${top_mem cpu 5}%
${color5}${font Roboto:size=10}A B O U T ${hr 2}${font}${color}
${color}Conky $conky_version ${alignr}©2005-2023
]];