]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
conky: remove conky
[dotfiles.git] / Makefile
index 88e4ab30aa48b1e8ce5ca9df64defa213b1beaca..889268751d46a1d148da7c7582df5fd5dc37ca84 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,40 @@
 APATH := $(realpath .)
 
 FILES := bin
-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
+DOTFILES := goobookrc msmtp* mutt profile tmux.conf weechat Xresources
+CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 
-mpd:
+~/.config:
+       mkdir -p ~/.config
+
+vim:
+       ln -sfT $(APATH)/vim ~/.config/vim
+       mkdir -p ~/.local/share/vim
+       git clone https://github.com/gmarik/vundle ~/.local/share/vim/vundle
+.PHONY: vim
+
+gdb:
+       ln -sfT $(APATH)/gdbinit ~/.gdbinit
+       ln -sfT $(APATH)/cgdb ~/.cgdb
+.PHONY: gdb
+
+awesome: ~/.config
+       ln -sfT $(APATH)/awesome ~/.config/awesome
+.PHONY: awesome
+
+qutebrowser: ~/.config
+       ln -sfT $(APATH)/qutebrowser ~/.config/qutebrowser
+       mkdir -p ~/downloads
+.PHONY: qutebrowser
+
+mpd: systemd
        ln -sfT $(APATH)/mpd ~/.config/mpd
        mkdir -p ~/.local/share/mpd/playlists
+       systemctl --user enable mpd
+       systemctl --user start mpd
 .PHONY: mpd
 
 ncmpcpp:
@@ -17,6 +42,16 @@ ncmpcpp:
        mkdir -p ~/.local/share/mpd/lyrics
 .PHONY: ncmpcpp
 
+systemd:
+       ln -sfT $(APATH)/$@ ~/.config/$@
+.PHONY: systemd
+
+gnupg: systemd
+       ln -sfT $(APATH)/$@ ~/.config/$@
+       systemctl --user enable gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
+       systemctl --user start gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
+.PHONY: gnupg
+
 zsh:
        ln -sfT $(APATH)/zshrc ~/.zshrc
        ln -sfT $(APATH)/zprofile ~/.zprofile
@@ -25,6 +60,18 @@ zsh:
        mkdir -p ~/.cache/zsh
 .PHONY: zsh
 
+xprofile:
+       ln -sfT $(APATH)/xprofile ~/.xprofile
+.PHONY: xprofile
+
+dircolors:
+       ln -sfT $(APATH)/dircolors ~/.config/dircolors
+.PHONY: dircolors
+
+urxvt:
+       ln -sfT $(APATH)/urxvt ~/.config/urxvt
+.PHONY: urxvt
+
 $(FILES): 
        @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
            if [[ -d $@ ]]; then \
@@ -47,7 +94,7 @@ $(DOTFILES):
        fi; 
        ln -sfT $(APATH)/$@ ~/.$@
 
-$(CONFIGFILES): 
+$(CONFIGFILES):  ~/.config
        @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
            if [[ -d .config/$@ ]]; then \
              cp -r ~/.config/$@/* $@; \