From cbf0f1ad6d80a15c80f3f06ed219756a304a6acd Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Mon, 27 Jul 2026 12:33:14 -0400 Subject: backlight waybar --- waybar/config | 8 ++++++++ waybar/style.css | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'waybar') diff --git a/waybar/config b/waybar/config index 1afa014..c44d842 100644 --- a/waybar/config +++ b/waybar/config @@ -20,6 +20,9 @@ "custom/right-arrow-dark" ], "modules-right": [ + "custom/left-arrow-dark", + "backlight", + "custom/left-arrow-light", "custom/left-arrow-dark", "pulseaudio", "custom/left-arrow-light", @@ -114,6 +117,11 @@ "format": " {free}", "path": "/" }, + "backlight": { + "device": "amdgpu_bl0", + "format": "{icon} {percent}%", + "format-icons": ["󱩎", "󱩐", "󱩒", "󱩓", "󱩔", "󱩕", "󱩖", "󰛨"] + }, "network": { "interval": 5, "format-icons": ["󰤯", "󰤟", "󰤢", "󰤨"], diff --git a/waybar/style.css b/waybar/style.css index d381dd0..f2ffe67 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,6 +1,6 @@ * { font-size: 12px; - font-family: "Hack Nerd Font Mono"; + font-family: "Mononoki Nerd Font Mono"; min-height: 0; } @@ -29,6 +29,7 @@ window#waybar { #battery, #disk, #network, +#backlight, #tray { background: #1a1a1a; } @@ -68,12 +69,16 @@ window#waybar { #network { color: #fcac35; } +#backlight { + color: #aa4423; +} #clock, #pulseaudio, #memory, #cpu, #battery, +#backlight, #network, #disk { padding: 0 10px; -- cgit v1.2.3-54-g00ecf