sway: Bind XF86AudioPause to also toggle mpd state
This commit is contained in:
parent
882f85cecf
commit
9bac0b95ac
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue