From 1f754ef8cfc24cb29b18ba1bf905fb73e56e8d2e Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sun, 9 Aug 2026 02:01:22 -0400 Subject: Updated warning msg min version to 0.55 Signed-off-by: Don Williams --- scripts/migrate-hypr-to-lua.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/migrate-hypr-to-lua.sh') diff --git a/scripts/migrate-hypr-to-lua.sh b/scripts/migrate-hypr-to-lua.sh index fb729d7e..f36cbbda 100755 --- a/scripts/migrate-hypr-to-lua.sh +++ b/scripts/migrate-hypr-to-lua.sh @@ -44,7 +44,7 @@ USER_CONFIGS_LEGACY_DIR="$USER_CONFIGS_LEGACY_ROOT/$MIGRATION_TS" CONFIGS_LEGACY_DIR="$CONFIGS_LEGACY_ROOT/$MIGRATION_TS" USER_OVERRIDES_SHIM="$DEST_HYPR_DIR/lua/user_overrides.lua" DEST_MONITORS_CONF="$DEST_HYPR_DIR/monitors.conf" -DEST_LUA_MONITORS="$DEST_HYPR_DIR/lua/monitors.lua" +DEST_LUA_MONITORS="$USER_CONFIGS_DIR/monitors.lua" DEST_WORKSPACES_CONF="$DEST_HYPR_DIR/workspaces.conf" DEST_LUA_WORKSPACES="$DEST_HYPR_DIR/lua/workspaces.lua" SOURCE_LUA_ENTRY_ENABLED="$SRC_HYPR_DIR/hyprland.lua" @@ -726,7 +726,8 @@ def emit_monitor(spec): disabled_value = str(spec.get("disabled", "")).strip().lower() disabled_truthy = {"1", "true", "yes", "on", "disable", "disabled"} if mode_value in {"disable", "disabled"} or disabled_value in disabled_truthy: - lines.append(" mode = \"disable\",") + lines.append(" mode = \"preferred\",") + lines.append(" disabled = true,") lines.append("})") return "\n".join(lines) -- cgit v1.2.3