diff --git a/users/elitherl/Ronin.nix b/users/elitherl/Ronin.nix index 99a7f68d..939b59c6 100644 --- a/users/elitherl/Ronin.nix +++ b/users/elitherl/Ronin.nix @@ -3,7 +3,6 @@ grep closed /proc/acpi/button/lid/LID0/state &&\ hyprctl dispatch dpms off eDP-1 ||\ hyprctl dispatch dpms on eDP-1 - grep closed /proc/acpi/button/lid/LID0/state && hyprctl dispatch exec swaylock ''; in { imports = [./default.nix]; @@ -23,6 +22,7 @@ in { monitor = DP-3,1920x1200,1920x0,1.0 monitor = DP-4,1920x1080,3840x0,1.0,transform,1 bindl=,switch:Lid Switch,exec,check-laptop-lid-state + bindl=,switch:Lid Switch,exec,swaylock exec = ${laptop-state}/bin/check-laptop-lid-state windowrule = workspace 3 silent, ^(teams-for-linux)$