1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

updated waybar to check backup disabled

This commit is contained in:
eoli3n 2021-06-21 08:09:28 +02:00
parent 6e2f060907
commit 5449b5bb9d

@ -100,10 +100,9 @@
"exec": "~/.config/waybar/modules/storage.sh /"
},
"custom/backup": {
"format": " <span foreground='#f3f99d'>backup...</span>",
"format": " <span foreground='#f3f99d'>{}</span>",
"interval": 5,
"exec": "echo a",
"exec-if": "pgrep borg >/dev/null"
"exec": "if test -f /etc/borgmatic/lock; then echo 'backup disabled'; elif pgrep borg >/dev/null; then echo 'backup...'; fi"
},
"custom/systemd": {
"format": "<span foreground='#ff5c57'> {}</span>",