]> git.rmz.io Git - dotfiles.git/commitdiff
Makefile: enable mpd when installing config
authorSamir Benmendil <me@rmz.io>
Sun, 15 Jan 2017 00:24:53 +0000 (00:24 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 15 Jan 2017 00:24:53 +0000 (00:24 +0000)
Makefile

index 034683df0140157763e25856664a29f0d64b8f50..8a2c883db9effd8e206dbc0f57ce795efad8e2bb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,9 +25,11 @@ qutebrowser: ~/.config
        mkdir -p ~/downloads
 .PHONY: qutebrowser
 
        mkdir -p ~/downloads
 .PHONY: qutebrowser
 
-mpd:
+mpd: systemd
        ln -sfT $(APATH)/mpd ~/.config/mpd
        mkdir -p ~/.local/share/mpd/playlists
        ln -sfT $(APATH)/mpd ~/.config/mpd
        mkdir -p ~/.local/share/mpd/playlists
+       systemctl --user enable mpd
+       systemctl --user start mpd
 .PHONY: mpd
 
 ncmpcpp:
 .PHONY: mpd
 
 ncmpcpp: