mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
updated waybar to check backup disabled
This commit is contained in:
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>",
|
||||
|
Loading…
Reference in New Issue
Block a user