From 42ddd6f6f2e59f60240976b8f086c6d68e03d1c5 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 25 May 2024 21:32:56 -0400 Subject: [PATCH] hyprland: fixed clamshell mode --- homeManagerModules/desktop/hypr/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeManagerModules/desktop/hypr/default.nix b/homeManagerModules/desktop/hypr/default.nix index 2dc9eca4..2ed4b2cc 100644 --- a/homeManagerModules/desktop/hypr/default.nix +++ b/homeManagerModules/desktop/hypr/default.nix @@ -134,10 +134,10 @@ monitor = ,preferred,auto,auto # Turn off the internal display when lid is closed. - bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" - bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "desc:BOE 0x095F,preferred,auto,1.566667" - bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "desc:LG Display 0x0569,preferred,auto,1.2" - bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0" + bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" + bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "desc:BOE 0x095F,preferred,auto,1.566667" + bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "desc:LG Display 0x0569,preferred,auto,1.2" + bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0" # unscale XWayland apps xwayland {