1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

changed waybar tests

This commit is contained in:
eoli3n 2020-12-18 16:02:29 +01:00
parent d41983ad08
commit 70bf67d2e3

@ -60,7 +60,7 @@
"format": "<span foreground='#929292'></span> vpn", "format": "<span foreground='#929292'></span> vpn",
"interval": 5, "interval": 5,
"exec" : "echo a", "exec" : "echo a",
"exec-if" : "systemctl is-active --quiet vpn" "exec-if" : "pregrep openvpn &>/dev/null"
}, },
"backlight": { "backlight": {
"format": "<span foreground='#929292'>{icon}</span> {percent}%", "format": "<span foreground='#929292'>{icon}</span> {percent}%",
@ -98,23 +98,11 @@
"interval": 60, "interval": 60,
"exec": "~/.config/waybar/modules/storage.sh /" "exec": "~/.config/waybar/modules/storage.sh /"
}, },
"custom/zfs-trim": {
"format": " <span foreground='#f3f99d'>trimming...</span>",
"interval": 5,
"exec": "echo a",
"exec-if": "systemctl is-active --quiet zfs-trim"
},
"custom/zfs-scrub": {
"format": " <span foreground='#f3f99d'>scrubbing...</span>",
"interval": 5,
"exec": "echo a",
"exec-if": "systemctl is-active --quiet zfs-scrub"
},
"custom/backup": { "custom/backup": {
"format": " <span foreground='#f3f99d'>backup...</span>", "format": " <span foreground='#f3f99d'>backup...</span>",
"interval": 5, "interval": 5,
"exec": "echo a", "exec": "echo a",
"exec-if": "systemctl is-active --quiet backup" "exec-if": "pgrep borg &>/dev/null"
}, },
"custom/systemd": { "custom/systemd": {
"format": "<span foreground='#ff5c57'> {}</span>", "format": "<span foreground='#ff5c57'> {}</span>",