i3/polybar: brightness
This commit is contained in:
parent
41ac48a1a5
commit
ab7fda4bac
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue