i3/polybar: brightness

This commit is contained in:
Michael Grote 2021-07-01 08:20:08 +02:00
parent b0c72caf69
commit 19f3decc93
2 changed files with 3 additions and 3 deletions

View file

@ -38,9 +38,9 @@ floating_modifier $mod1
# bildschirmhelligkeit # bildschirmhelligkeit
# heller; fn+f6 # heller; fn+f6
bindcode 233 exec sudo brightnessctl s +2% bindcode 233 exec sudo brightnessctl s +5%
#dunkler; fn+f7 #dunkler; fn+f7
bindcode 232 exec sudo brightnessctl s 2%- bindcode 232 exec sudo brightnessctl s 5%-
# start a terminal # start a terminal
bindsym $mod1+Return exec alacritty bindsym $mod1+Return exec alacritty

View file

@ -75,7 +75,7 @@ format-prefix-foreground = ${colors.foreground-alt}
type = custom/script type = custom/script
exec = /usr/bin/brightnessctl g exec = /usr/bin/brightnessctl g
tail = true tail = true
interval = 5 interval = 2
format-prefix = "BRT " format-prefix = "BRT "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}