aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/migrate-hypr-to-lua.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-09 02:01:22 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commit1f754ef8cfc24cb29b18ba1bf905fb73e56e8d2e (patch)
tree6184544b044652906df77591dbeeb8111b10d33d /scripts/migrate-hypr-to-lua.sh
parent1baeaf49881637f1b90507e36bb499b73ef866ac (diff)
Updated warning msg min version to 0.55
Signed-off-by: Don Williams <don.e.williams@gmail.com>
Diffstat (limited to 'scripts/migrate-hypr-to-lua.sh')
-rwxr-xr-xscripts/migrate-hypr-to-lua.sh5
1 files changed, 3 insertions, 2 deletions
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)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage