DSK, .xinitrc: Move to .local/share

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

1
.dsk

@ -1 +0,0 @@
Subproject commit 5f8157401cb70c99a4aa88b9becad368482895f5

3
.gitmodules vendored
View File

@ -37,3 +37,6 @@
[submodule ".vim/bundle/vim-css-color"]
path = .vim/bundle/vim-css-color
url = https://github.com/ap/vim-css-color
[submodule ".local/share/dsk"]
path = .local/share/dsk
url = git@gitlab.com:rehashedsalt/dsk

1
.local/share/dsk Submodule

@ -0,0 +1 @@
Subproject commit 31b4c2dd9cb1dbb7520d90aa6ebe230b04332393

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"