aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-22 20:43:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-22 20:44:32 +1300
commitef5d7eb9f59ae54b6f5a208eb0b63f6cd6e06647 (patch)
treea152813188583117bd802d6a6c72e8299c907448
parent5bca255aa5cbad35c44764f88e4a25c165fc3f6e (diff)
downloaddotfiles-ef5d7eb9f59ae54b6f5a208eb0b63f6cd6e06647.tar.gz
dotfiles-ef5d7eb9f59ae54b6f5a208eb0b63f6cd6e06647.zip
Add a dillorc file
I'm using this browser on an old ThinkPad. Firefox runs, but it's slow, and lately I'm spending a lot of time on sites that don't require JavaScript or anything like that. Let's see how this goes. The `save_dir` doesn't accept tildes in it as a shorthand for the home directory, so I've had to template it with mi5->m4.
-rw-r--r--.gitignore2
-rw-r--r--Makefile12
-rw-r--r--dillo/dillorc.mi511
3 files changed, 25 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e3328179..8b407166 100644
--- a/.gitignore
+++ b/.gitignore
@@ -150,6 +150,8 @@
/bin/xgoc
/bin/xrbg
/bin/xrq
+/dillo/dillorc
+/dillo/dillorc.m4
/games/aaf
/games/acq
/games/aesth
diff --git a/Makefile b/Makefile
index ee6afcb3..056f0ece 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@
install-bin \
install-bin-man \
install-curl \
+ install-dillo \
install-dunst \
install-ex \
install-finger \
@@ -266,6 +267,8 @@ clean distclean:
$(BINS_M4) \
$(BINS_SH) \
$(GAMES) \
+ dillo/dillorc \
+ dillo/dillorc.m4 \
git/gitconfig \
git/gitconfig.m4 \
gnupg/gpg.conf \
@@ -312,6 +315,11 @@ bin/tlcs.sh: bin/tlcs.m4 include/mktd.m4
bin/try.sh: bin/try.m4 include/mktd.m4
bin/urlc.sh: bin/urlc.m4 include/mktd.m4
+dillo/dillorc: dillo/dillorc.m4
+ m4 \
+ -D HOME=$(HOME) \
+ dillo/dillorc.m4 > $@
+
git/gitconfig: git/gitconfig.m4
m4 \
-D NAME=$(NAME) \
@@ -371,6 +379,10 @@ install-bin-man:
install-curl:
cp -p -- curl/curlrc $(HOME)/.curlrc
+install-dillo: dillo/dillorc install-x
+ mkdir -p -- $(HOME)/.dillo
+ cp -p -- dillo/dillorc $(HOME)/.dillo/dillorc
+
install-dunst: install-x
mkdir -p -- $(HOME)/.config/dunst
cp -p -- dunst/dunstrc $(HOME)/.config/dunst
diff --git a/dillo/dillorc.mi5 b/dillo/dillorc.mi5
new file mode 100644
index 00000000..736baeee
--- /dev/null
+++ b/dillo/dillorc.mi5
@@ -0,0 +1,11 @@
+bg_color=0xeeeeee
+filter_auto_requests=same_domain
+home="https://sanctum.geek.nz/"
+http_referer=none
+load_images=YES
+load_stylesheets=NO
+parse_embedded_css=NO
+save_dir=<% HOME %>/Downloads
+search_url="http://duckduckgo.com/html?q=%s"
+small_icons=yes
+start_page="about:blank"