diff --git a/common/fragments/graphical/bspwm.nix b/common/fragments/graphical/bspwm.nix index e483dd4..75c4d38 100644 --- a/common/fragments/graphical/bspwm.nix +++ b/common/fragments/graphical/bspwm.nix @@ -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:)"'';