home/sway: fix fn keys

This commit is contained in:
Guanran Wang 2024-05-31 02:13:15 +08:00
parent bac328949f
commit 14d1b42569
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -122,12 +122,10 @@
"XF86AudioRaiseVolume" = "exec ${lib.getExe pkgs.pamixer} -i5"; "XF86AudioRaiseVolume" = "exec ${lib.getExe pkgs.pamixer} -i5";
"XF86AudioLowerVolume" = "exec ${lib.getExe pkgs.pamixer} -d5"; "XF86AudioLowerVolume" = "exec ${lib.getExe pkgs.pamixer} -d5";
"XF86AudioMute" = "exec ${lib.getExe pkgs.pamixer} -t"; "XF86AudioMute" = "exec ${lib.getExe pkgs.pamixer} -t";
"XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play"; "XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play-pause";
"XF86AudioPause" = "exec ${lib.getExe pkgs.playerctl} pause";
"XF86AudioPrev" = "exec ${lib.getExe pkgs.playerctl} previous"; "XF86AudioPrev" = "exec ${lib.getExe pkgs.playerctl} previous";
"XF86AudioNext" = "exec ${lib.getExe pkgs.playerctl} next"; "XF86AudioNext" = "exec ${lib.getExe pkgs.playerctl} next";
"XF86AudioStop" = "exec ${lib.getExe pkgs.playerctl} stop"; "XF86AudioStop" = "exec ${lib.getExe pkgs.playerctl} stop";
"XF86AudioMedia" = "exec ${lib.getExe pkgs.playerctl} play-pause";
} }
// //
# workspace binds # workspace binds