forked from aphive/Conky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconkyrc.txt
123 lines (112 loc) · 3.61 KB
/
conkyrc.txt
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
conky.config = {
-- Begin Window Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_color = '#000000',
own_window_class = 'Conky',
own_window_title = 'Default Conky',
own_window_argb_visual = true,--#
own_window_argb_value = 50,--#
minimum_width = 200, minimum_height = 0,-- w|h
maximum_width = 260,
gap_x = 5,-- l|r
gap_y = 45,-- u|d
alignment = 'top_right',
-- End Window Settings
-- Font Settings
use_xft = true,
font = 'Liberation Mono:Light:size=9',
xftalpha = 1,
override_utf8_locale = true,
uppercase = false,
-- End Font Settings
-- Colour Settings
draw_shades = false,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#b5b5b5',
-- End Colour Settings
-- Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
-- End Borders Section
-- Miscellaneous Section
background = true,
use_spacer = 'none',
text_buffer_size = 6144,
no_buffers = true,
short_units = true,
imlib_cache_size = 0,
double_buffer = true,
-- End Miscellaneous Section
update_interval = 1,
};
conky.text = [[
S Y S T E M I N F O
${hr}
Hostname: $alignr $nodename
Kernel: $alignr $kernel
Uptime: $alignr $uptime
Load: $alignr $loadavg
R A M U S A G E
${hr}
mem: $alignr $memperc % of $memmax
swap: $alignr $swapperc % of $swapmax
D I S K U S A G E
${hr}
root: $alignr ${fs_used_perc /} % of ${fs_size /}
C P U U S A G E
${hr}
Total: $alignr ${cpu cpu} %
${cpugraph cpu -t -l}
Core 0: ${cpu cpu0} % $alignr Core 1: ${cpu cpu1} %
${cpugraph cpu0 25,110 -t -l} $alignr${cpugraph cpu1 25,110 -t -l}
T E M P E R A T U R E
${hr}
Core 0: $alignr ${execi 10 sensors -f | grep 'Core 0' | cut -c16-22}
Core 1: $alignr ${execi 10 sensors -f | grep 'Core 1' | cut -c16-22}
GPU: $alignr ${execi 10 sensors -f | grep 'GPU:' | cut -c17-24}
N E T W O R K I N G
${hr}
PING: $alignr ${execi 10 ping -c 1 1.1.1.1 | grep 'time=' | cut -c47-53}
${if_existing /sys/class/net/eth0/operstate up}Wired:
LAN IP: $alignr ${addr eth0}
LAN ▲: $alignr ${upspeed eth0}
LAN ▼: $alignr ${downspeed eth0}${endif}
${if_existing /sys/class/net/wlan0/operstate up}Wireless:
IP: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Bit Rate: $alignr ${wireless_bitrate wlan0}
Quality: $alignr ${wireless_link_qual_perc wlan0} %
WiFi ▲: $alignr ${upspeed wlan0}
WiFi ▼: $alignr ${downspeed wlan0}${endif}
D A T A U S A G E
${hr}
${if_existing /sys/class/net/eth0/operstate up}Wired:
Total ▲: ${totalup eth0} $alignr Total ▼: ${totaldown eth0}${endif}
${if_existing /sys/class/net/wlan0/operstate up}Wireless:
Total ▲: ${totalup wlan0} $alignr Total ▼: ${totaldown wlan0}${endif}
T O P M E M H O G S
${hr}
${color #FF5555}${top_mem name 1} ${alignr} ${top mem 1} % ${color}
${color #FFaa55}${top_mem name 2} ${alignr} ${top mem 2} % ${color}
${color #FFff55}${top_mem name 3} ${alignr} ${top mem 3} % ${color}
T O P C P U H O G S
${hr}
${color #FF5555}${top name 1} ${alignr} ${top cpu 1} % ${color}
${color #FFaa55}${top name 2} ${alignr} ${top cpu 2} % ${color}
${color #FFff55}${top name 3} ${alignr }${top cpu 3} % ${color}
${color grey}Name PID CPU% MEM%
${color #FF5555} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #FFaa55} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #FFff55} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
R A N D O M S
${hr}
Available Updates: ${alignr} ${execpi 3600 checkupdates | wc -l}
]];