diff --git a/dots/.config/waybar/config b/dots/.config/waybar/config index d3bb6301..543eb97f 100644 --- a/dots/.config/waybar/config +++ b/dots/.config/waybar/config @@ -20,6 +20,7 @@ ], "modules-right": [ "custom/pacman-update", + "systemd-failed-units", "tray", "backlight", "network", @@ -106,7 +107,8 @@ }, "backlight": { "format": "󰃠 {percent}%", - "scroll-step": 5.0 + "scroll-step": 5.0, + "device": "intel_backlight" }, "network": { "on-click-right": "~/.config/waybar/scripts/set-rfkill.bash", @@ -225,6 +227,11 @@ "firefoxdeveloperedition": "firefox-developer-edition" } }, + "systemd-failed-units": { + "format": "✗ Degraded Units: {nr_failed}", + "system": true, + "user": true + }, "tray": { "icon-size": 14 } diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index de15ed10..77d64df3 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -72,6 +72,7 @@ tooltip label, #taskbar, #tray, #backlight, +#systemd-failed-units, #tray menu, #custom-lock { background-color: #16161d; @@ -268,6 +269,15 @@ tooltip { color: #7e9cd8; } +#systemd-failed-units.ok { + color: #98BB6C; +} + +#systemd-failed-units.degraded { + color: #FF5D62; + font-weight: bolder; +} + /* Tray */ #tray { -gtk-icon-shadow: 0 0 2px #957fb8;