summaryrefslogtreecommitdiff
path: root/web/tmpl-configure-split-firefox.sls
diff options
context:
space:
mode:
Diffstat (limited to 'web/tmpl-configure-split-firefox.sls')
-rw-r--r--web/tmpl-configure-split-firefox.sls11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/tmpl-configure-split-firefox.sls b/web/tmpl-configure-split-firefox.sls
new file mode 100644
index 0000000..f740622
--- /dev/null
+++ b/web/tmpl-configure-split-firefox.sls
@@ -0,0 +1,11 @@
+# Split-browser tries to use torbrowser by default, so we'll disable it
+split-web--disable-tor-browser:
+ cmd.run:
+ - name: 'mv /etc/split-browser-disp/21-tor-browser.bash /etc/split-browser-disp/21-tor-browser.bash.EXAMPLE'
+ - creates: '/etc/split-browser-disp/21-tor-browser.bash.EXAMPLE'
+
+# Enabling the firefox config so split-browser knows where to find the executable
+split-web--enable-firefox:
+ cmd.run:
+ - name: 'mv /etc/split-browser-disp/22-firefox.bash.EXAMPLE /etc/split-browser-disp/22-firefox.bash'
+ - creates: '/etc/split-browser-disp/22-firefox.bash'