Skip to content

Commit

Permalink
Merge pull request #1197 from Samueru-sama/patch-7
Browse files Browse the repository at this point in the history
allow setting `$SCRIPTDIR`
  • Loading branch information
ivan-hc authored Dec 10, 2024
2 parents 4c02b62 + d7d412b commit 9d10230
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export CONFIGDIR="${XDG_CONFIG_HOME:-$HOME/.config}"
export CACHEDIR="${XDG_CACHE_HOME:-$HOME/.cache}"
export APPMANCONFIG="$CONFIGDIR/appman"
APPMANCONFIG="$CONFIGDIR/appman"
SCRIPTDIR="$(xdg-user-dir DESKTOP 2>/dev/null || echo "$HOME")"
SCRIPTDIR="${SCRIPTDIR:-$(xdg-user-dir DESKTOP 2>/dev/null)}"
[ -d "$SCRIPTDIR" ] || SCRIPTDIR="$PWD"
export SCRIPTDIR

# Colors
Expand Down

0 comments on commit 9d10230

Please sign in to comment.