fix: source user-dirs.dirs

This commit is contained in:
Tobias Reisinger 2020-02-28 18:13:33 +01:00
parent 625ee51457
commit e359e4411d
4 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,5 @@
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
export EDITOR='/usr/bin/vim'
export VIMINIT="source $HOME/.config/vim/vimrc"
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
@ -11,9 +13,9 @@ fi
if [ -x "$(command -v mopidy)" ]
then
mpd &
sh -c "sleep 8 && mopidy" & # mopidy needs internet (wait 8 secs) for spotify
else
if [ -x "$(command -v mpd)" ] && mopidy &
[ -x "$(command -v mpd)" ] && mpd &
fi
[ -x "$(command -v ympd)" ] && ympd --webport 54594 &