diff --git a/dots/.config/waybar/config b/dots/.config/waybar/config index b52a7d89..f1d51f1c 100644 --- a/dots/.config/waybar/config +++ b/dots/.config/waybar/config @@ -20,6 +20,7 @@ "modules-right": [ "custom/pacman-update", "tray", + "backlight", "network", "clock", "custom/lock" @@ -98,6 +99,10 @@ "interval": "once", "on-click": "swaylock" }, + "backlight": { + "format": "󰃠 {percent}%", + "scroll-step": 5.0 + }, "network": { "on-click-right": "~/.config/waybar/scripts/set-rfkill.bash", "interval": 1, diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index f52e1b77..49bf14c0 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -70,6 +70,7 @@ tooltip label, #custom-pacman-update, #taskbar, #tray, +#backlight, #tray menu, #custom-lock { background-color: #16161d; @@ -249,7 +250,7 @@ tooltip { ); background-size: 400% 400%; /* PERF: Animations in gtk css cause incredible CPU loads, wtf?! - * Disabling this shit for now, not worth the CPU cost. */ + * Disabling this shit for now, not worth the CPU cost. */ /* animation: gradient_roll 30s ease-in-out infinite; */ } @@ -272,6 +273,11 @@ tooltip { -gtk-icon-shadow: none; } +/* Backlight */ +#backlight { + color: #DCA561; +} + /* Network */ #network { color: #a3d4d5;