diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 50a644c..b4de3b1 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -27,6 +27,11 @@ mouse_refocus = false; }; + bindl = [ + ",switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-2, 2560x1600@165, 0x0, auto"" + ",switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-2, disable"" + ]; + # Allow using SUPER+LEFT to move windows and SUPER+RIGHT to resize windows bindm = [ "$mod, mouse:272, movewindow"