From ab7fda4bac8299659469b4df93da6022ebd5ac82 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 1 Jul 2021 09:55:16 +0200 Subject: [PATCH] i3/polybar: brightness --- i3/config | 4 ++-- polybar/config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i3/config b/i3/config index ef1d298..e5c5ea9 100644 --- a/i3/config +++ b/i3/config @@ -32,9 +32,9 @@ floating_modifier $mod1 # bildschirmhelligkeit # heller; fn+f6 -bindcode 233 exec sudo brightnessctl s +5% +bindcode 233 exec sudo brightnessctl set +5% #dunkler; fn+f7 -bindcode 232 exec sudo brightnessctl s 5%- +bindcode 232 exec sudo brightnessctl set 5%- # kill focused window bindsym $mod2+F4 kill diff --git a/polybar/config b/polybar/config index 6f72a9c..9f96973 100644 --- a/polybar/config +++ b/polybar/config @@ -73,7 +73,7 @@ format-prefix-foreground = ${colors.foreground-alt} [module/backlight] type = custom/script -exec = /usr/bin/brightnessctl g +exec = /usr/bin/brightnessctl get tail = true interval = 2 format-prefix = "BRT "