diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-08-09 02:01:22 -0400 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-08-29 21:41:34 -0700 |
| commit | 1f754ef8cfc24cb29b18ba1bf905fb73e56e8d2e (patch) | |
| tree | 6184544b044652906df77591dbeeb8111b10d33d | |
| parent | 1baeaf49881637f1b90507e36bb499b73ef866ac (diff) | |
Updated warning msg min version to 0.55
Signed-off-by: Don Williams <don.e.williams@gmail.com>
| -rwxr-xr-x | copy.sh | 2 | ||||
| -rwxr-xr-x | scripts/migrate-hypr-to-lua.sh | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -508,7 +508,7 @@ print_color() { # Check /etc/os-release for Ubuntu or Debian and warn about Hyprland version requirement if grep -iqE '^(ID_LIKE|ID)=.*(ubuntu|debian)' /etc/os-release >/dev/null 2>&1; then printf "\n%.0s" {1..1} - print_color $WARNING "\nThese Dotfiles are only supported on Hyprland v0.54 or greater. Do not install on older versions of Hyprland.\n" + print_color $WARNING "\nThese Dotfiles are only supported on Hyprland v0.55 or greater. Do not install on older versions of Hyprland.\n" while true; do echo -n "${CAT} Do you want to continue anyway? (y/N): " read _continue 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) |
