-
Notifications
You must be signed in to change notification settings - Fork 3
/
.conkyrc
163 lines (149 loc) · 4.48 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
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
154
155
156
157
158
159
160
161
162
163
out_to_x no
own_window yes
out_to_console yes
background transpanent
#max_text_width 0
net_avg_samples 3
own_window_argb_visual yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_value 0
#own_window_argb_visual = true
#own_window_argb_value = 70
#own_window yes
#own_window_class Conky
#own_window_type override
#background yes
#own_window_argb_visual true
#own_window_argb_value 0
#own_window_type desktop
#own_window no
#own_window_transparent yes
#own_window_type normal
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Update interval in seconds
update_interval 0.3
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units yes
# How strict should if_up be when testing an interface for being up?
# The value is one of up, link or address, to check for the interface
# being solely up, being up and having link or being up, having link
# and an assigned IP address.
if_up_strictness link
# Add spaces to keep things from moving about? This only affects certain objects.
# use_spacer should have an argument of left, right, or none
use_spacer left
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1
# Stuff after 'TEXT' will be formatted on screen
TEXT
# JSON for i3bar
[
# ${if_match ${exec "playerctl status"} "Playing" }
# {
# "full_text" : "playing"
# "color" : "\#88ABC4"
# },
# ${endif}
{
"full_text": "α ${cpu cpu1}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "β ${cpu cpu2}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "γ ${cpu cpu3}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "δ ${cpu cpu4}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "ε ${cpu cpu5}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "ζ ${cpu cpu6}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "η ${cpu cpu7}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"full_text": "θ ${cpu cpu8}%",
"color": "\#88ABC4",
"min_width": 50,
"align": "center"
},
{
"icon" : "$HOME/.config/i3/xbmicons/mem.xbm",
"full_text" : " ${mem} [ ${memperc}% ] ",
"color" : ${if_match ${memperc}>80}"\#ff0000"${else}"\#88ABC4"${endif}
},
{
"icon" : "~/.config/i3/xbmicons/temp.xbm",
"full_text" : ${if_match ${acpitemp}>55}" ${acpitemp}°C"${else}" ${acpitemp}°C"${endif},
"color" : ${if_match ${acpitemp}>55}"\#ff0000"${else}"\#88abc4"${endif}
},
{
"full_text" : "${exec xkb-switch | sed 's/us/en/' | tr '[a-z]' '[A-Z]'}",
"color" : "\#88ABC4"
},
{
"full_text" : "${uptime_short} ",
"color" : "\#88ABC4"
},
{
"full_text" : "${wireless_essid wlp0s20f3} [ ${addr wlp0s20f3} ]",
"color" : "\#88ABC4"
},
{
"full_text" : "${exec light | cut -d "." -f1}",
"color" : "\#88ABC4"
},
{
"full_text" : "🔈${exec amixer -c 0 get Master | grep Mono: | cut -d " " -f6 | grep -oP '\d*'}%",
"color" : ${if_match "${exec ~/.config/i3/volumeMute.sh}"!="on"}"\#ff0000"${else}"\#88ABC4"${endif}
},
{
"full_text" : ${if_match "${exec ~/.config/i3/batt.sh}" != "Full"}${if_match "${exec ~/.config/i3/batt.sh}"!="Charging"}"${battery_percent BAT0}%"${else}"${battery_percent BAT0}%"${endif}${else}"${battery_percent BAT0}%"${endif},
"color" : ${if_match ${battery_percent BAT0 }<15}
"\#ff0000"
# ${execi 20 xcalib -red 1.1 30.0 100.0 -alter}
# ${exec notify-send -u critical "$(acpi -b)"}
${else}
"\#88ABC4"
${endif}
},
{
"full_text" : "${time %A %d %b} ${time %R} ",
"color" : "\#88ABC4"
},
{
"full_text" : ""
}
],