-
Notifications
You must be signed in to change notification settings - Fork 0
/
conky.conf
116 lines (114 loc) · 4.57 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
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=12',
gap_x = 30,
gap_y = 30,
minimum_height = 5,
minimum_width = 300,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = false,
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
show_graph_range = false,
own_window_argb_visual = true,
own_window_argb_value = 145,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
lua_load = '/etc/conky/conky_functions.lua',
}
conky.text = [[
${voffset 2}${font sans-serif:bold:size=18}${alignc}${time %H:%M}${font}
${alignc}${time %A}
${voffset 2}${alignc}${time %d %B %Y}
${font sans-serif:bold:size=10}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
${color grey}Host: $color$alignr$nodename
${color grey}Uptime: $color$alignr$uptime
${color grey}File System: $color$alignr${fs_type}
${voffset 1}
${font sans-serif:bold:size=10}CPU ${hr 2}
${font sans-serif:normal:size=8}${lua conky_cpu_model}
CPU: $alignr $cpu%
${cpubar 4}
${color grey}CPU Freq.:$alignr $color $freq MHz
${color grey}CPU Freq.:$alignr $color $freq_g GHz
${if_match ${lua conky_check_nvidia} == 1}
${font sans-serif:bold:size=10}GPU ${hr 2}
${font sans-serif:normal:size=8}${lua conky_gpu_name}
${voffset 1}
GPU: $alignr ${lua conky_gpu_utilization}
${execibar 10 ${lua conky_gpu_utilization}}
${font sans-serif:normal:size=8}${color grey}GPU Temp: $alignr $color ${lua conky_gpu_temperature} °C
${font sans-serif:normal:size=8}${color grey}GPU Freq.: $alignr $color ${lua conky_gpu_frequency}
${font sans-serif:normal:size=8}${color grey}GPU Mem.: $alignr $color ${lua conky_gpu_memory}
${font sans-serif:normal:size=8}${color grey}GPU Power: $alignr $color ${lua conky_gpu_power}
${voffset 1}
${endif}
${font sans-serif:bold:size=10}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
${membar 4}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar 4}
${voffset 1}
${font sans-serif:bold:size=10}FILE SYSTEMS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar 6 /}
${color grey}Disk I/O:$color $alignr $diskio
R
${diskiograph_read}
W
${diskiograph_write}
${voffset 1}
${font sans-serif:bold:size=10}NETWORKING ${hr 2}
${font sans-serif:normal:size=8} ${alignr} ${color grey}Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed} - ${upspeedf}k/s (${totalup})
UP
${upspeedgraph}
DW
${downspeedgraph}
${font sans-serif:normal:size=8}${lua conky_active_ethernet_interface} ${alignr} ${color grey} ${color} ${alignr}${lua conky_active_ethernet_interface_ip}
${alignr} ${color grey}Up:$color ${upspeed ${lua conky_active_ethernet_interface}} ${color grey} - Down:$color ${downspeed ${lua conky_active_ethernet_interface}}
${font sans-serif:normal:size=8}${lua conky_active_wireless_interface} ${alignr} ${color grey} ${color} ${alignr}${lua conky_active_wireless_interface}
${alignr} ${color grey}Up:$color ${upspeed ${lua conky_active_wireless_interface}} ${color grey} - Down:$color ${downspeed ${lua conky_active_ethernet_interface_ip}}
${font sans-serif:bold:size=10}PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${color grey}Name ${alignr}CPU% MEM%
${color lightgrey} ${top name 1} ${alignr} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${alignr} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${alignr} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${alignr} ${top cpu 4} ${top mem 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
]]