From 9bac0b95ac7260c0b32773a666ba24159810299a Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 18 Nov 2021 18:33:18 +0100 Subject: [PATCH] sway: Bind XF86AudioPause to also toggle mpd state --- users/simon/modules/sway/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/users/simon/modules/sway/default.nix b/users/simon/modules/sway/default.nix index 1df2baa..dc8aa9c 100644 --- a/users/simon/modules/sway/default.nix +++ b/users/simon/modules/sway/default.nix @@ -150,6 +150,7 @@ in "XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc -q next"; "XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc -q prev"; "XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc -q toggle"; + "XF86AudioPause" = "exec ${pkgs.mpc_cli}/bin/mpc -q toggle"; # Mumble PTT "--no-repeat Shift_R" = "exec ${pkgs.dbus}/bin/dbus-send --session --type=method_call --dest=net.sourceforge.mumble.mumble / net.sourceforge.mumble.Mumble.startTalking";