X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8c9226f4744d4ec7ba95bc3013f44c7d811dddbb..c98ff8ea47598e577c5a23a94efdfb0a6eaf22e9:/Makefile diff --git a/Makefile b/Makefile index 6227781..877c50c 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,34 @@ APATH := $(realpath .) FILES := bin -DOTFILES := conky* git* goobookrc msmtp* mutt ncmpcpp profile tmux.conf weechat Xresources xprofile zprofile zshenv zshrc -CONFIGFILES := aliases compton.conf git gnupg mimeo.conf mpd mpv offlineimap ranger retroarch systemd vim xbindkeys 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 + +dircolors: + ln -sfT $(APATH)/dircolors ~/.config/dircolors +.PHONY: dircolors + $(FILES): @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \ if [[ -d $@ ]]; then \