From 98095cbd9774945c91c112b4569e347cfa8859a8 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 9 Oct 2023 00:49:33 -0400 Subject: [PATCH] desktop/wm: enable autorandr only when not stationary --- modules/modules/desktop/wm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modules/desktop/wm.nix b/modules/modules/desktop/wm.nix index c403321..dd8ee94 100644 --- a/modules/modules/desktop/wm.nix +++ b/modules/modules/desktop/wm.nix @@ -26,7 +26,7 @@ in # Automatically attach/detatch connected/disconnected monitors services.autorandr = { - enable = config.info.graphical; + enable = config.info.graphical && !config.info.stationary; ignoreLid = true; defaultTarget = "horizontal"; hooks.postswitch = {