X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2a9779ad6b6506244818df4864a3185a029674d6..24afba88c203f4e2ef575571e54a72503a1f72f4:/Makefile diff --git a/Makefile b/Makefile index c543a53..88e4ab3 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,30 @@ APATH := $(realpath .) FILES := bin -DOTFILES := conky* git* goobookrc msmtp* mutt ncmpcpp offlineimap* profile weechat xbindkeysrc Xresources xprofile zprofile zshrc -CONFIGFILES := aliases compton.conf git mimeo.conf mpd ranger retroarch vim xkb zsh +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 + $(FILES): @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \ if [[ -d $@ ]]; then \