From e0c724f14042bd90b9eb5687a351c9945b74fc9b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 13 Mar 2026 16:31:58 +0530 Subject: Moving to xremap for shortcuts from sxhkd. Added the basic configs --- modules/desktop/xremap/keybindings/pamixer.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 modules/desktop/xremap/keybindings/pamixer.nix (limited to 'modules/desktop/xremap/keybindings/pamixer.nix') 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" + ]; + }; +} -- cgit v1.2.3