diff options
Diffstat (limited to 'modules/desktop/xremap/keybindings/pamixer.nix')
| -rw-r--r-- | modules/desktop/xremap/keybindings/pamixer.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/desktop/xremap/keybindings/pamixer.nix b/modules/desktop/xremap/keybindings/pamixer.nix new file mode 100644 index 0000000..9e0d3c0 --- /dev/null +++ b/modules/desktop/xremap/keybindings/pamixer.nix @@ -0,0 +1,26 @@ +{ pkgs }: + +{ + + "XF86AudioLowerVolume" = { + launch = [ + "sh" + "-c" + "${pkgs.pamixer}/bin/pamixer --decrease 5" + ]; + }; + "XF86AudioRaiseVolume" = { + launch = [ + "sh" + "-c" + "${pkgs.pamixer}/bin/pamixer --increase 5" + ]; + }; + "XF86AudioMute" = { + launch = [ + "sh" + "-c" + "${pkgs.pamixer}/bin/pamixer --toggle-mute" + ]; + }; +} |
