DSK, .xinitrc: Move to .local/share

This commit is contained in:
2019-01-16 16:29:04 -06:00
parent 9dfbc5a00b
commit bebf5261c1
4 changed files with 6 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ die() {
if [ -x "$HOME/.dsk/dsk" ]; then
export DSK_HOME="$HOME/.dsk"
export STARTUP="$DSK_HOME/dsk"
elif [ -x "${XDG_CACHE_DIR:-$HOME/.local/share}/dsk/dsk" ]; then
export STARTUP="${XDG_CACHE_DIR:-$HOME/.local/share}/dsk/dsk"
fi
[ -z "$STARTUP" ] && die "No session target available"