Add waybar module to check for failed backups
This commit is contained in:
parent
07ace6160d
commit
0250e8a666
@ -33,7 +33,7 @@
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 40,
|
||||
"modules-left": ["idle_inhibitor", "gamemode", "cpu", "memory", "battery", "mpris"],
|
||||
"modules-left": ["idle_inhibitor", "gamemode", "cpu", "memory", "custom/backup", "battery", "mpris"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["network", "pulseaudio", "backlight", "clock"],
|
||||
"clock": {
|
||||
@ -120,5 +120,10 @@
|
||||
"paused": "⏸",
|
||||
"stopped": "⏹"
|
||||
}
|
||||
},
|
||||
"custom/backup": {
|
||||
"interval": 60,
|
||||
"format": "",
|
||||
"exec": "systemctl is-failed backup.service"
|
||||
}
|
||||
}]
|
||||
|
@ -143,3 +143,8 @@ window#waybar {
|
||||
color: #ebdbb2;
|
||||
padding: 0 1em;
|
||||
}
|
||||
/* Custom modules */
|
||||
#custom-backup {
|
||||
color: #fb4934;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user