sway: Bind XF86AudioPause to also toggle mpd state

This commit is contained in:
Simon Bruder 2021-11-18 18:33:18 +01:00
parent 882f85cecf
commit 9bac0b95ac
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -150,6 +150,7 @@ in
"XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc -q next"; "XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc -q next";
"XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc -q prev"; "XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc -q prev";
"XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc -q toggle"; "XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc -q toggle";
"XF86AudioPause" = "exec ${pkgs.mpc_cli}/bin/mpc -q toggle";
# Mumble PTT # 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"; "--no-repeat Shift_R" = "exec ${pkgs.dbus}/bin/dbus-send --session --type=method_call --dest=net.sourceforge.mumble.mumble / net.sourceforge.mumble.Mumble.startTalking";