From 14d1b42569ebf31ed5261302e8dcae3547dd78ad Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 31 May 2024 02:13:15 +0800 Subject: [PATCH] home/sway: fix fn keys --- home/applications/sway/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home/applications/sway/default.nix b/home/applications/sway/default.nix index 18e7018..8c0e049 100644 --- a/home/applications/sway/default.nix +++ b/home/applications/sway/default.nix @@ -122,12 +122,10 @@ "XF86AudioRaiseVolume" = "exec ${lib.getExe pkgs.pamixer} -i5"; "XF86AudioLowerVolume" = "exec ${lib.getExe pkgs.pamixer} -d5"; "XF86AudioMute" = "exec ${lib.getExe pkgs.pamixer} -t"; - "XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play"; - "XF86AudioPause" = "exec ${lib.getExe pkgs.playerctl} pause"; + "XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play-pause"; "XF86AudioPrev" = "exec ${lib.getExe pkgs.playerctl} previous"; "XF86AudioNext" = "exec ${lib.getExe pkgs.playerctl} next"; "XF86AudioStop" = "exec ${lib.getExe pkgs.playerctl} stop"; - "XF86AudioMedia" = "exec ${lib.getExe pkgs.playerctl} play-pause"; } // # workspace binds