i3/polybar: brightness

This commit is contained in:
Michael Grote 2021-07-01 09:55:16 +02:00
parent 41ac48a1a5
commit ab7fda4bac
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 "