diff --git a/hosts/talos/home.nix b/hosts/talos/home.nix index 148c46e..af80bbc 100644 --- a/hosts/talos/home.nix +++ b/hosts/talos/home.nix @@ -109,6 +109,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;