-
Notifications
You must be signed in to change notification settings - Fork 0
/
.conkyrc
40 lines (38 loc) · 1.44 KB
/
.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
-- -*- mode: lua; -*-
conky.config = {
background = false,
border_width = 1,
cpu_avg_samples = 2,
extra_newline = false,
net_avg_samples = 2,
no_buffers = true,
out_to_console = true,
out_to_stderr = false,
out_to_x = false,
own_window = true,
own_window_type = 'dock',
own_window_class = 'Conky',
own_window_transparent = true,
update_interval = 1.0,
update_interval_on_battery = 1.0,
uppercase = false,
use_spacer = left,
times_in_seconds = true,
};
-- Colors are in dzen2 format.
conky.text =
[[
\
^fg(grey)${time %a %d %b %H:%M} \
\
^fg(grey)CPU: ^fg(DeepSkyBlue)$cpu% \
^fg(grey)RAM: ^fg(DeepSkyBlue)${if_match ${to_bytes $memeasyfree} < 536870912}^fg(Red)${endif}$memperc% \
^fg(grey)↓ ^fg(DeepSkyBlue)${downspeedf ${gw_iface}} KiB \
^fg(grey)↑ ^fg(DeepSkyBlue)${upspeedf ${gw_iface}} KiB \
\
^fg(grey)^fn(FontAwesome:size=$STATUSBARSIZE)^fn(IosevkaComfy:size=$STATUSBARSIZE) ^fg(DeepSkyBlue)${battery_percent}% \
${if_match "${exec pactl list sinks | awk '/^\tMute:/ {print $2;exit}'}" == "no"}^fg(grey) ^fn(FontAwesome:size=$STATUSBARSIZE) ^fn(IosevkaComfy:size=$STATUSBARSIZE)^fg(DeepSkyBlue)${exec pactl list sinks | awk '/^\tVolume:/ {print $5;exit}'}${endif} \
\
^fg(grey)^fn(FontAwesome:size=$STATUSBARSIZE)^fg(DeepSkyBlue)^fn(IosevkaComfy:size=$STATUSBARSIZE)${wireless_link_qual_perc wlp2s0}% ${wireless_essid wlp2s0} ^fg(grey)${exec curl -s www.icanhazip.com} \
\
]]