From 9497f6c73d0a46876ed6c84e6055f0fcb34a3140 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 20 Sep 2022 16:15:33 +0200 Subject: [PATCH] waybar: show backlight brightness --- profiles/base-user/.config/waybar/config | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/profiles/base-user/.config/waybar/config b/profiles/base-user/.config/waybar/config index 71f51a47..05e726fc 100644 --- a/profiles/base-user/.config/waybar/config +++ b/profiles/base-user/.config/waybar/config @@ -7,6 +7,7 @@ //"modules-center": ["mpd"], "modules-right": [ "sway/language", + "backlight", "custom/notification", "pulseaudio", "network", @@ -39,10 +40,8 @@ "format-alt": "{:%a %d. %h %H:%M}" }, "backlight": { - // "device": "acpi_video1", - "tooltip": true, - "tooltip-format": "Brightness: {percent}%", - "format": "{icon}", + "device": "gmux_backlight", + "format": " {percent}% {icon}", "format-icons": ["", ""] }, "cpu": { @@ -52,7 +51,7 @@ "format": "{}% " }, "idle_inhibitor": { - "format": "{icon} ", + "format": "{icon} ", "format-icons": { "activated": "", "deactivated": "" @@ -64,8 +63,8 @@ "critical": 25 }, //"full-at": 84, - "format": "{icon} {capacity}%", - "format-full": "{icon}", + "format": "{icon} {capacity}%", + "format-full": "{icon}", "format-icons": ["", "", "", "", ""], }, "network": { @@ -81,7 +80,7 @@ //\ue04f{volume}% "pulseaudio": { "tooltip": false, - "format": "{volume}% {icon}", + "format": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon}", "format-muted": "", "on-click": "pavucontrol",