]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
lazyvim: absorb linting plugins
[dotfiles.git] / Makefile
index 7e6914752067497b29b74079e50f7434f66ad827..5a64e888bb086574b5675f31fc2bc2573c1a7c4e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -125,9 +125,16 @@ ssh:
 /etc/systemd/system/%: systemd/system/%
        sudo cp $(APATH)/$< $@
 
-systemd_system_units := $(patsubst %,/etc/%,$(wildcard systemd/system/*))
-systemd: $(XDG_CONFIG_HOME) $(systemd_system_units)
+systemd-system: $(patsubst %,/etc/%,$(wildcard systemd/system/*))
+       sudo systemctl daemon-reload
+.PHONY: systemd-system
+
+systemd-user: $(XDG_CONFIG_HOME) 
        ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
+.PHONY: systemd-user
+
+systemd: systemd-user systemd-system
+       systemctl --user daemon-reload
 .PHONY: systemd
 
 task: $(XDG_CONFIG_HOME)
@@ -190,10 +197,6 @@ zathura: $(XDG_CONFIG_HOME)
        ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
 .PHONY: zathura
 
-zellij: $(XDG_CONFIG_HOME)
-       ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
-.PHONY: zellij
-
 zsh: $(XDG_CONFIG_HOME)
        ln -sfT $(APATH)/zshrc ~/.zshrc
        ln -sfT $(APATH)/zshenv ~/.zshenv