Add some bindings for sound control

This part is really brittle. I think I want something better here.
This commit is contained in:
larstvei 2025-08-25 07:56:27 +02:00
parent 8ad299a155
commit 04d31a52e4

View File

@ -4,6 +4,7 @@
pkgs.wtype pkgs.wtype
pkgs.rofi-wayland pkgs.rofi-wayland
pkgs.brightnessctl pkgs.brightnessctl
pkgs.pamixer
]; ];
programs.kitty.enable = true; programs.kitty.enable = true;
@ -63,6 +64,10 @@
"$shiftMod, O, exec, wtype 'Ø'" "$shiftMod, O, exec, wtype 'Ø'"
"$shiftMod, semicolon, exec, wtype 'Æ'" "$shiftMod, semicolon, exec, wtype 'Æ'"
", XF86AudioRaiseVolume, exec, pamixer -i 5 "
", XF86AudioLowerVolume, exec, pamixer -d 5 "
", XF86AudioMute, exec, pamixer -t"
", XF86AudioMicMute, exec, pamixer --default-source -t"
", XF86MonBrightnessUp, exec, brightnessctl set +5%" ", XF86MonBrightnessUp, exec, brightnessctl set +5%"
", XF86MonBrightnessDown, exec, brightnessctl set 5%-" ", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
] ]