-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.conkyjson
47 lines (40 loc) · 1.87 KB
/
.conkyjson
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
background no
out_to_console yes
out_to_x no
update_interval 5
total_run_times 0
use_spacer none
# show GiB as G etc.
short_units yes
# Create an average over the last x-intervals
cpu_avg_samples 1
net_avg_samples 1
# Only count an interface as up if it has an address
if_up_strictness address
TEXT
[
{"full_text": "${execi 5 np.sh}"},
${if_existing /sys/class/power_supply/AC0/online 0}
{"full_text": "bat: ${battery_percent}% ${battery_time}", "color": "${if_match ${battery_percent} < 20}\#fb1900${else}\#a9dc3a${endif}"},
${endif}
{"full_text": "conn: ${execi 5 netstat -nt | grep -c ESTABLISHED}", "color": "\#ffd33c"},
${if_up eno1}
{"full_text": "${downspeed eno1} ↓", "short_text": "${downspeed eno1}", "color": "\#a9dc3a", "separator": false, "separator_block_width": 3},
{"full_text": "${upspeed eno1} ↑", "short_text": "${upspeed eno1}", "color": "\#fb5200"},
{"full_text": "e: ${addr eno1}", "color": "\#f1f1f1"},
${endif}
${if_up eth0}
{"full_text": "${downspeed eth0} ↓", "short_text": "${downspeed eth0}", "color": "\#a9dc3a", "separator": false, "separator_block_width": 3},
{"full_text": "${upspeed eth0} ↑", "short_text": "${upspeed eth0}", "color": "\#fb5200"},
{"full_text": "e: ${addr eth0}", "color": "\#f1f1f1"},
${endif}
${if_up wlan0}
{"full_text": "${downspeed wlan0} ↓", "short_text": "${downspeed wlan0}", "color": "\#a9dc3a", "separator": false, "separator_block_width": 3},
{"full_text": "${upspeed wlan0} ↑", "short_text": "${upspeed wlan0}", "color": "\#fb5200"},
{"full_text": "w: ${addr wlan0} ${wireless_link_qual_perc wlan0}%", "color": "\#f1f1f1"},
${endif}
{"full_text": "disk: ${diskio}"},
{"full_text": "mem: ${mem} (${memperc}%)", "color": "\#ff3180"},
{"full_text": "cpu: ${cpu cpu0}%", "color": "${if_match ${cpu cpu0} >= 80}\#fb1900${else}\#6e83bf${endif}"},
{"full_text": "${time %a %d, %H:%M}", "short_text": "${time %H:%M}", "color": "\#a9dc3a"}
],