X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4c75204c6c25fea2cec85857f8f73184f10e1938..f2430c7c2d870fbdd8aa3b056a3acfcb09498b13:/Makefile diff --git a/Makefile b/Makefile index 58b9c46..8322336 100644 --- a/Makefile +++ b/Makefile @@ -41,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 @@ -73,7 +74,13 @@ ncmpcpp: $(XDG_CONFIG_HOME) mkdir -p $(XDG_DATA_HOME)/mpd/lyrics .PHONY: ncmpcpp -qutebrowser: $(XDG_CONFIG_HOME) +qute_scripts := $(wildcard qutebrowser/userscripts/*) +$(qute_scripts): + mkdir -p $(XDG_DATA_HOME)/qutebrowser/userscripts + ln -sfT $(APATH)/$@ $(XDG_DATA_HOME)/$@ +.PHONY: $(qute_scripts) + +qutebrowser: $(XDG_CONFIG_HOME) $(qute_scripts) ln -sfT $(APATH)/qutebrowser $(XDG_CONFIG_HOME)/qutebrowser mkdir -p ~/downloads .PHONY: qutebrowser