]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
qutebrowser: cycle through cookie settings for tld with user script
[dotfiles.git] / Makefile
index f118edd6db73e62dc6bb5267a716858cd2061753..8322336f41e9fb7eee8eda5cec89661e2027f000 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -74,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