4 DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources
5 CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
7 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
8 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
14 ln -sfT $(APATH)/vim ~/.config/vim
15 mkdir -p ~/.local/share/vim
16 git clone https://github.com/gmarik/vundle ~/.local/share/vim/vundle
20 ln -sfT $(APATH)/awesome ~/.config/awesome
23 qutebrowser: ~/.config
24 ln -sfT $(APATH)/qutebrowser ~/.config/qutebrowser
29 ln -sfT $(APATH)/mpd ~/.config/mpd
30 mkdir -p ~/.local/share/mpd/playlists
31 systemctl --user enable mpd
32 systemctl --user start mpd
36 ln -sfT $(APATH)/pms ~/.config/pms
40 ln -sfT $(APATH)/ncmpcpp ~/.config/ncmpcpp
41 mkdir -p ~/.local/share/mpd/lyrics
45 ln -sfT $(APATH)/$@ ~/.config/$@
49 ln -sfT $(APATH)/$@ ~/.config/$@
50 systemctl --user enable gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
51 systemctl --user start gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
55 ln -sfT $(APATH)/zshrc ~/.zshrc
56 ln -sfT $(APATH)/zprofile ~/.zprofile
57 ln -sfT $(APATH)/zshenv ~/.zshenv
58 ln -sfT $(APATH)/zsh ~/.config/zsh
63 ln -sfT $(APATH)/xprofile ~/.xprofile
67 ln -sfT $(APATH)/dircolors ~/.config/dircolors
71 ln -sfT $(APATH)/urxvt ~/.config/urxvt
75 @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
76 if [[ -d $@ ]]; then \
83 ln -sfT $(APATH)/$@ ~/$@
86 @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
87 if [[ -d .$@ ]]; then \
94 ln -sfT $(APATH)/$@ ~/.$@
96 $(CONFIGFILES): ~/.config
97 @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
98 if [[ -d .config/$@ ]]; then \
99 cp -r ~/.config/$@/* $@; \
101 cp -r ~/.config/$@ $@; \
103 rm -r ~/.config/$@; \
105 ln -sfT $(APATH)/$@ ~/.config/$@