desktop/wm: enable autorandr only when not stationary

This commit is contained in:
Infinidoge 2023-10-09 00:49:33 -04:00
parent 2ae3a4e53d
commit 98095cbd97

View file

@ -26,7 +26,7 @@ in
# Automatically attach/detatch connected/disconnected monitors # Automatically attach/detatch connected/disconnected monitors
services.autorandr = { services.autorandr = {
enable = config.info.graphical; enable = config.info.graphical && !config.info.stationary;
ignoreLid = true; ignoreLid = true;
defaultTarget = "horizontal"; defaultTarget = "horizontal";
hooks.postswitch = { hooks.postswitch = {