diff --git a/hosts/talos/home.nix b/hosts/talos/home.nix index 0cfe1a7..d593838 100644 --- a/hosts/talos/home.nix +++ b/hosts/talos/home.nix @@ -106,6 +106,11 @@ in { {command = "swayidle -w idlehint 1 before-sleep \"${lock}\"";} ]; }; + + extraConfig = '' + bindswitch --reload --locked lid:off output eDP-1 enable; + bindswitch --reload --locked lid:on output eDP-1 disable; + ''; }; programs = { fuzzel.enable = true;