diff options
Diffstat (limited to 'scripts/lib_apps.sh')
| -rw-r--r-- | scripts/lib_apps.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib_apps.sh b/scripts/lib_apps.sh index 579b5fd2..55c457d5 100644 --- a/scripts/lib_apps.sh +++ b/scripts/lib_apps.sh @@ -74,7 +74,7 @@ install_terminal_configs() { # Ghostty local GHOSTTY_SRC="$base/config/ghostty/config" - local GHOSTTY_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/ghostty" + local GHOSTTY_DIR="${XDG_CONFIG_HOME:-${XDG_CONFIG_HOME:-$HOME/.config}}/ghostty" local GHOSTTY_DEST="$GHOSTTY_DIR/config" if [ -f "$GHOSTTY_SRC" ]; then if [ -d "$GHOSTTY_DIR" ]; then @@ -96,7 +96,7 @@ install_terminal_configs() { # WezTerm local WEZTERM_SRC="$base/config/wezterm/wezterm.lua" - local WEZTERM_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/wezterm" + local WEZTERM_DIR="${XDG_CONFIG_HOME:-${XDG_CONFIG_HOME:-$HOME/.config}}/wezterm" local WEZTERM_DEST="$WEZTERM_DIR/wezterm.lua" if [ -f "$WEZTERM_SRC" ]; then mkdir -p "$WEZTERM_DIR" |
