summaryrefslogtreecommitdiff
path: root/base/conkyrc-json
blob: 523b0a427411a9c03f4f92f02588ab848a1cd511 (plain)
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
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
use_spacer left
if_up_strictness address

update_interval 2.0
cpu_avg_samples 2
net_avg_samples 2

TEXT
[

{ "full_text": "${addr wlp58s0}",
  "color": ${if_up (wlp58s0)}"\#ff0000"${else}"\#00ff00"${endif} },

{ "full_text": "✉ ${new_mails $HOME/.maildir/}/${mails $HOME/.maildir/}",
  "color": ${if_match ${new_mails $HOME/.maildir/}>0}"\#00ff00"${else}"\#ffffff"${endif} },
 
{ "full_text":"/home ${fs_free /home}",
  "color": ${if_match ${fs_free_perc /home}<5}"\#ff0000"${else}"\#ffffff"${endif} },

{ "full_text":"RAM ${memperc}%",
  "color":${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} },

{ "full_text":"🔋 ${battery BAT0} (${exec ~/bin/discharge_rate.sh})" }, 

{ "full_text":"${loadavg 1}" },

{ "full_text":"♪ ${exec amixer get Master | awk '/Left/ {print substr($5, 2, index($5, "%") - 1)}'|tail -n 1}" },

{ "full_text":"${time %a %d %b %Y} ${time %H:%M:%S} ${utime %H:%M}Z",
  "short_text":"${time %H:%M:%S}" }

],