]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
qutebrowser: update configs
[dotfiles.git] / Makefile
index 0a2513a212b28c351d6383a4870aef3fe3d311c5..8af2d32f360651b9169a79b9ccf7faa13cc8b07b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ APATH := $(realpath .)
 
 FILES := bin
 DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources
-CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd xbindkeys xkb
+CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
@@ -25,9 +25,11 @@ qutebrowser: ~/.config
        mkdir -p ~/downloads
 .PHONY: qutebrowser
 
-mpd:
+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:
@@ -35,6 +37,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