Configure brightness controls
This commit is contained in:
parent
4a66006d75
commit
d5e338e099
|
@ -89,6 +89,9 @@
|
|||
"XF86AudioMute" = "pamixer -t";
|
||||
"XF86Audio{Prev,Next}" = "playerctl {previous,next}";
|
||||
"XF86AudioPlay" = "playerctl play-pause";
|
||||
"XF86MonBrightness{Up,Down}" = ''
|
||||
brightnessctl set 10%{+,-} && dunstify -r 98114 -h int:value:$(( $(brightnessctl get) * 100 / $(brightnessctl max) )) "Brightness set to:"
|
||||
'';
|
||||
# Switch outputs
|
||||
"super + o" = ''
|
||||
dunstify -r 112119 "Sound output switched to $(${pkgs.pads}/bin/pads next && ${pkgs.pads}/bin/pads list | rg '^\*' | choose 1:)"'';
|
||||
|
|
Loading…
Reference in New Issue