]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
xinit: use xss-lock and refactor xprofile into separate files
[dotfiles.git] / Makefile
index 71ed29c8c8f791b79d997cda6b947f1d2071863c..0d3d068c5a111e2cd13b33a9c67d6403afbf4010 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 $(XDG_DATA_HOME) $(XDG_CONFIG_HOME):
        mkdir -p $@
 
-awesome: $(XDG_CONFIG_HOME)
+awesome: $(XDG_CONFIG_HOME) xinit
        ln -sfT $(APATH)/awesome $(XDG_CONFIG_HOME)/awesome
 .PHONY: awesome
 
@@ -102,9 +102,10 @@ yay: $(XDG_CONFIG_HOME)
        ln -sfT $(APATH)/yay $(XDG_CONFIG_HOME)/yay
        mkdir -p $(XDG_CACHE_HOME)/yay
 
-xprofile:
-       ln -sfT $(APATH)/xprofile ~/.xprofile
-.PHONY: xprofile
+xinit: $(XDG_CONFIG_HOME)
+       ln -sfT $(APATH)/$@rc ~/.$@rc
+       ln -sfT $(APATH)/$@   $(XDG_CONFIG_HOME)/$@
+.PHONY: xinit
 
 weechat: $(XDG_CONFIG_HOME) $(XDG_CACHE_HOME)
        ln -sfT $(APATH)/weechat $(XDG_CONFIG_HOME)/weechat