diff --git a/roles/waybar/files/waybar/config b/roles/waybar/files/waybar/config
index 086cda4..a0a113f 100644
--- a/roles/waybar/files/waybar/config
+++ b/roles/waybar/files/waybar/config
@@ -60,7 +60,7 @@
"format": " vpn",
"interval": 5,
"exec" : "echo a",
- "exec-if" : "systemctl is-active --quiet vpn"
+ "exec-if" : "pregrep openvpn &>/dev/null"
},
"backlight": {
"format": "{icon} {percent}%",
@@ -98,23 +98,11 @@
"interval": 60,
"exec": "~/.config/waybar/modules/storage.sh /"
},
- "custom/zfs-trim": {
- "format": " trimming...",
- "interval": 5,
- "exec": "echo a",
- "exec-if": "systemctl is-active --quiet zfs-trim"
- },
- "custom/zfs-scrub": {
- "format": " scrubbing...",
- "interval": 5,
- "exec": "echo a",
- "exec-if": "systemctl is-active --quiet zfs-scrub"
- },
"custom/backup": {
"format": " backup...",
"interval": 5,
"exec": "echo a",
- "exec-if": "systemctl is-active --quiet backup"
+ "exec-if": "pgrep borg &>/dev/null"
},
"custom/systemd": {
"format": " {}",