24 lines
733 B
Bash
24 lines
733 B
Bash
[ -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"
|
|
export MAILCAPS="$HOME/.config/mailcap/mailcaprc"
|
|
export PASSWORD_STORE_GENERATED_LENGTH='64'
|
|
|
|
if [ -x "$(command -v gpgconf)" ]
|
|
then
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
gpgconf --launch gpg-agent
|
|
fi
|
|
|
|
if [ -x "$(command -v mopidy)" ]
|
|
then
|
|
sh -c "sleep 8 && mopidy > /tmp/mopidy.log" & # mopidy needs internet (wait 8 secs) for spotify
|
|
else
|
|
[ -x "$(command -v mpd)" ] && mpd &
|
|
fi
|
|
|
|
[ -x "$(command -v ympd)" ] && ympd --webport 54594 &
|
|
|
|
[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc
|