sway: Fix multimedia key bindings

This commit is contained in:
Simon Bruder 2021-01-19 12:47:03 +01:00
parent 9cdf89fe15
commit 7a41da6f17
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -149,9 +149,9 @@ lib.mkIf config.sbruder.gui.enable {
"XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%"; "XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%"; "XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc next"; "XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc --host=${config.services.mpd.network.listenAddress} next";
"XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc prev"; "XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc --host=${config.services.mpd.network.listenAddress} prev";
"XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc toggle"; "XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc --host=${config.services.mpd.network.listenAddress} 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";