diff --git a/home/wm/hyprland.nix b/home/wm/hyprland.nix index 5670eec..b375e40 100644 --- a/home/wm/hyprland.nix +++ b/home/wm/hyprland.nix @@ -193,6 +193,7 @@ ", XF86AudioPrev, exec, ${playerctl} previous" ", XF86AudioPlay, exec, ${playerctl} play-pause" ", XF86AudioNext, exec, ${playerctl} next" + ", switch:on:Lid Switch, exec, ${playerctl} pause" ", switch:on:Lid Switch, exec, ${swaylock}" ", switch:on:Lid Switch, exec, systemctl suspend" ];