.dotfiles/.profile

25 lines
733 B
Plaintext
Raw Normal View History

2020-02-28 17:13:33 +00:00
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
export EDITOR='/usr/bin/vim'
2020-02-19 01:05:10 +00:00
export VIMINIT="source $HOME/.config/vim/vimrc"
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
2020-03-11 10:59:26 +00:00
export MAILCAPS="$HOME/.config/mailcap/mailcaprc"
2019-12-26 12:52:34 +00:00
export PASSWORD_STORE_GENERATED_LENGTH='64'
if [ -x "$(command -v gpgconf)" ]
then
2019-12-26 13:08:40 +00:00
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
fi
2020-01-08 13:08:20 +00:00
if [ -x "$(command -v mopidy)" ]
then
2020-03-11 10:59:26 +00:00
sh -c "sleep 8 && mopidy > /tmp/mopidy.log" & # mopidy needs internet (wait 8 secs) for spotify
else
2020-02-28 17:13:33 +00:00
[ -x "$(command -v mpd)" ] && mpd &
fi
2020-02-18 00:45:57 +00:00
[ -x "$(command -v ympd)" ] && ympd --webport 54594 &
2020-01-09 15:51:17 +00:00
2020-01-27 10:46:01 +00:00
[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc