diff --git a/sericea/.config/waybar/config b/sericea/.config/waybar/config index 4998dfaa..366d5991 100644 --- a/sericea/.config/waybar/config +++ b/sericea/.config/waybar/config @@ -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" } }] diff --git a/sericea/.config/waybar/style.css b/sericea/.config/waybar/style.css index 25c8da8e..428e7130 100644 --- a/sericea/.config/waybar/style.css +++ b/sericea/.config/waybar/style.css @@ -143,3 +143,8 @@ window#waybar { color: #ebdbb2; padding: 0 1em; } +/* Custom modules */ +#custom-backup { + color: #fb4934; + padding: 0 1em; +}