X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4c75204c6c25fea2cec85857f8f73184f10e1938..0716bcc1f67f9f8caebc6788454cd4171a08414b:/Makefile diff --git a/Makefile b/Makefile index 58b9c46..e08bed2 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,6 @@ gdb: mkdir $(XDG_DATA_HOME)/gdb ln -sfT $(APATH)/gdb $(XDG_CONFIG_HOME)/gdb ln -sfT $(APATH)/gdbinit ~/.gdbinit - ln -sfT $(APATH)/cgdb ~/.cgdb .PHONY: gdb git: $(XDG_CONFIG_HOME) @@ -41,6 +40,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 +73,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