aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcopy.sh2
-rwxr-xr-xscripts/migrate-hypr-to-lua.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/copy.sh b/copy.sh
index 7e9b45b9..2145e4b7 100755
--- a/copy.sh
+++ b/copy.sh
@@ -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)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage