-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmanjaro-tree.conkyrc
114 lines (105 loc) · 4.92 KB
/
manjaro-tree.conkyrc
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
conky.config = {
background = true,
use_xft = true,
font = 'xos4 Terminus:weight=Bold:size=9',
xftalpha = 0.8,
update_interval = 1,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_type = 'normal',
own_window_class = 'conky',
own_window_argb_visual = true,
-- own_window_colour = '#263041',
-- own_window_argb_value = 120,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
stippled_borders = 1,
border_width = 1,
default_color = 'white',
default_shade_color = 'gray',
default_outline_color = 'black',
alignment = 'top_right',
no_buffers = true,
gap_x = 5,
gap_y = 0,
-- Misc Console #
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
no_buffers = true,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'right',
maximum_width = 1600,
minimum_height = 600,
uppercase = true,
};
conky.text = [[
#leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
${alignr}${offset -6}${color green}${exec lsb_release -drcs}${color}
${alignr}${offset -6}└──────────┐
${alignr}${offset -6}│
${alignr}${offset -6}${exec cat /etc/manjaro-release} ${machine} ─┤
${alignr}${offset -6}< ${kernel} > Kernel ─┤ │
${alignr}${offset -6}< ${uptime} > Uptime ─┤ │
${alignr}${offset -6}< ${execi 360 dnf -q check-update | sed '/^$/d' | wc -l | tail} > updates ─┘ │
${alignr}${offset -6}│
${alignr}${offset -6}system ─┤
${alignr}${offset -6}│ │
${alignr}${offset -6}< ${execi 1000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-39} > CPU ─┤ │
${alignr}${offset -6}│ │ │
${alignr}${offset -6}used ─┤ │ │
${alignr}${offset -6}< ${cpu cpu 1}% > cpu1 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 2}% > cpu2 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 3}% > cpu3 ─┤ │ │ │
${alignr}${offset -6}< ${cpu cpu 4}% > cpu4 ─┘ │ │ │
${alignr}${offset -6}│ │ │
${alignr}${offset -6}< $loadavg > load ─┤ │ │
${alignr}${offset -6}< ${top name 1} ${top cpu 1} > ─┤ │ │
${alignr}${offset -6}< ${top name 2} ${top cpu 2} > ─┤ │ │
${alignr}${offset -6}< ${top name 3} ${top cpu 3} > ─┤ │ │
${alignr}${offset -6}< ${top name 4} ${top cpu 4} > ─┤ │ │
${alignr}${offset -6}< ${top name 5} ${top cpu 5} > ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Processes ─┤ │
${alignr}${offset -6}< $processes > ─ < $running_processes > ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Temperatures ─┤ │
${alignr}${offset -6}< ${execi 5 sensors|grep 'Package id 0:'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C > cpu ─┤ │ │
#${alignr}${offset -6}< ${execi 5 nvidia-settings -t -q [gpu]/GPUCoreTemp} °C > gpu ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Memory ─┤ │
${alignr}${offset -6}< $memperc% > used ─┤ │ │
${alignr}${offset -6}< $mem/$memmax > ─┘ │ │ │
${alignr}${offset -6}< ${top name 1} ${top mem 1} > ─┤ │ │
${alignr}${offset -6}< ${top name 2} ${top mem 2} > ─┤ │ │
${alignr}${offset -6}< ${top name 3} ${top mem 3} > ─┤ │ │
${alignr}${offset -6}< ${top name 4} ${top mem 4} > ─┤ │ │
${alignr}${offset -6}< ${top name 5} ${top mem 5} > ─┘ │ │
${alignr}${offset -6}│ │
${alignr}${offset -6}Disk Usage ─┘ │
${alignr}${offset -6}< $diskio_read > read ─┤ │
${alignr}${offset -6}< $diskio_write > write ─┤ │
${alignr}${offset -6}< ${fs_used /}/${fs_size /} > /root ─┤ │
${alignr}${offset -6}< ${fs_bar 5,120 /} > ─┘ │ │
${alignr}${offset -6}< ${fs_used /home}/${fs_size /home} > /home ─┘ │
${alignr}${offset -6}< ${fs_bar 5,120 /home} > ─┘ │
${alignr}${offset -6}│
${alignr}${offset -6}Network ─┘
${alignr}${offset -32}< $nodename > hostname ─┤
${alignr}${offset -32}< ${downspeed enp3s0} k/s > download ─┤
${alignr}${offset -32}< ${downspeedgraph enp3s0 12,120 136311 11B014} > ─┘ │
${alignr}${offset -32}│
${alignr}${offset -32}< ${upspeed enp3s0} k/s > upload ─┤
${alignr}${offset -32}< ${upspeedgraph enp3s0 12,120 BA0B0B FC0707} > ─┘ │
${alignr}${offset -32}│
${alignr}${offset -32}< ${execi 60 wget -qO- ifconfig.co} > Wan ─┤
${alignr}${offset -32}< ${exec ip addr show $(ip addr show | awk '/inet.*brd/{print $NF; exit}') | grep 'inet ' | awk '{print $2}' | cut -f1 -d'/'} > Lan ─┘
#${alignr}${offset -32}< ${addr enp3s0} > Lan ─┘
]];