add: brightness hotkey and icon
This commit is contained in:
parent
be3233d8b8
commit
62ae988ae0
2 changed files with 25 additions and 13 deletions
|
@ -208,8 +208,9 @@
|
|||
[module/xbacklight]
|
||||
type = internal/xbacklight
|
||||
|
||||
format = <label> <bar>
|
||||
label = BL
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format = <bar>
|
||||
|
||||
bar-width = 10
|
||||
bar-indicator = |
|
||||
|
@ -367,26 +368,32 @@
|
|||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full-prefix = " "
|
||||
format-full-prefix = " "
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-foreground = ${colors.foreground-alt}
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-foreground = ${colors.foreground-alt}
|
||||
animation-charging-framerate = 750
|
||||
animation-charging-framerate = 500
|
||||
|
||||
animation-discharging-0 =
|
||||
animation-discharging-1 =
|
||||
animation-discharging-2 =
|
||||
animation-discharging-1 =
|
||||
animation-discharging-2 =
|
||||
animation-discharging-3 =
|
||||
animation-discharging-4 =
|
||||
animation-discharging-foreground = ${colors.foreground-alt}
|
||||
animation-discharging-framerate = 750
|
||||
animation-discharging-framerate = 500
|
||||
|
||||
[module/temperature]
|
||||
type = internal/temperature
|
||||
|
|
|
@ -43,6 +43,11 @@ XF86AudioLowerVolume
|
|||
#XF86AudioMute
|
||||
# mpc toggleoutput
|
||||
|
||||
XF86MonBrightnessUp
|
||||
xbacklight -inc 5
|
||||
XF86MonBrightnessDown
|
||||
[ $(xbacklight -get | cut -d'.' -f 1) -ge 10 ] && xbacklight -dec 5
|
||||
|
||||
#
|
||||
# bspwm hotkeys
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue