X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/ce9777d2eb1dd03c5124dca2add71213b550d59f..cf75e935fef989adf6958d77d1cf69ee4bbec57b:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 71ed29c..f118edd 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,10 @@ 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 + ln -sfT $(APATH)/xinitrc ~/.xinitrc + ln -sfT $(APATH)/zlogin ~/.zlogin .PHONY: awesome dircolors: $(XDG_CONFIG_HOME) @@ -39,6 +41,7 @@ git: $(XDG_CONFIG_HOME) gnupg: systemd ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@ + chmod 700 $(XDG_CONFIG_HOME)/$@ 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 @@ -102,9 +105,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