From b956caa085f31fd34815bf7b4d5892b907cbf659 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 27 Apr 2024 14:01:32 -0400 Subject: [PATCH] sway: added support for laptop clamshell mode --- homeManagerModules/desktop/sway/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index e9fd3d4c..319d48ba 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -366,6 +366,9 @@ wayland.windowManager.sway.extraConfig = '' bindgesture swipe:right workspace prev bindgesture swipe:left workspace next + + bindswitch --reload --locked lid:on output eDP-1 disable + bindswitch --reload --locked lid:off output eDP-1 enable blur enable blur_passes 1