From 0e44a41499d9ce04afa290ad6059f00c3fd72605 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 29 May 2021 22:22:05 +0200 Subject: [PATCH] waybar: add display brightness module --- .config/waybar/config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/waybar/config b/.config/waybar/config index d754216..fcf93d4 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -5,7 +5,7 @@ "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": ["sway/window"], - "modules-right": ["tray", "pulseaudio", "network", "custom/storage", "memory", "cpu", "idle_inhibitor", "battery", "clock#date", "clock#time"], + "modules-right": ["tray", "pulseaudio", "network", "custom/storage", "memory", "cpu", "idle_inhibitor", "backlight", "battery", "clock#date", "clock#time"], "sway/workspaces": { "format": "{name}", "disable-scroll": true, @@ -38,6 +38,11 @@ "interval": 5, "format": "{usage:2}% " }, + "backlight": { + "device": "acpi_video1", + "format": "{percent}% {icon}", + "format-icons": ["☁️", "🌥️", "⛅", "☀️"] + }, "battery": { "format": "{capacity}% {icon}", "format-alt": "{time} {icon}",