aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/fix-systemsettings-lua.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fix-systemsettings-lua.sh')
-rwxr-xr-xscripts/fix-systemsettings-lua.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fix-systemsettings-lua.sh b/scripts/fix-systemsettings-lua.sh
index e1b550fc..42515d87 100755
--- a/scripts/fix-systemsettings-lua.sh
+++ b/scripts/fix-systemsettings-lua.sh
@@ -5,11 +5,11 @@
# License: GNU GPLv3
# SPDX-License-Identifier: GPL-3.0-or-later
# ==================================================
-# Regenerate ~/.config/hypr/configs/system_settings.lua from SystemSettings.conf.
+# Regenerate ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/configs/system_settings.lua from SystemSettings.conf.
set -euo pipefail
-CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
+CONFIG_HOME="${XDG_CONFIG_HOME:-${XDG_CONFIG_HOME:-$HOME/.config}}"
HYPR_DIR="${CONFIG_HOME}/hypr"
CONFIGS_DIR="${HYPR_DIR}/configs"
LEGACY_DIR="${CONFIGS_DIR}/LegacyConfigs"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage