APATH := $(realpath .)
FILES := bin
-DOTFILES := aliases bash* conky* flexget git* vim* xbindkeysrc Xmodmap zsh*
-CONFIGFILES := retroarch
+DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources xprofile
+CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd vim xbindkeys xkb
.PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
install: $(FILES) $(DOTFILES) $(CONFIGFILES)
+mpd:
+ ln -sfT $(APATH)/mpd ~/.config/mpd
+ mkdir -p ~/.local/share/mpd/playlists
+.PHONY: mpd
+
+ncmpcpp:
+ ln -sfT $(APATH)/ncmpcpp ~/.config/ncmpcpp
+ mkdir -p ~/.local/share/mpd/lyrics
+.PHONY: ncmpcpp
+
+zsh:
+ ln -sfT $(APATH)/zshrc ~/.zshrc
+ ln -sfT $(APATH)/zprofile ~/.zprofile
+ ln -sfT $(APATH)/zshenv ~/.zshenv
+ ln -sfT $(APATH)/zsh ~/.config/zsh
+ mkdir -p ~/.cache/zsh
+.PHONY: zsh
+
+xprofile:
+ ln -sfT $(APATH)/xprofile ~/.xprofile
+.PHONY: xprofile
+
+dircolors:
+ ln -sfT $(APATH)/dircolors ~/.config/dircolors
+.PHONY: dircolors
+
$(FILES):
@if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
if [[ -d $@ ]]; then \