From 3bda2424ac6d0f2d591afa85c8f3f6ff4ab41173 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Wed, 29 Aug 2018 11:13:02 -0400 Subject: [PATCH] Added backlight indicator --- polybar/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/polybar/config b/polybar/config index 7b05867..1ce9557 100644 --- a/polybar/config +++ b/polybar/config @@ -34,7 +34,7 @@ font-2 = siji:pixelsize=10;1+e modules-left = i3 modules-center = xwindow -modules-right = volume battery date +modules-right = backlight volume battery date tray-position = right tray-padding = 2 @@ -128,6 +128,16 @@ format-muted-prefix = " " label-muted = VOL %percentage%% format-muted-underline = ${colors.pink} +[module/backlight] +type = internal/backlight +; Use the following command to list available cards: +; $ ls -1 /sys/class/backlight/ +card = intel_backlight + +format =