tAdd chromium to ff. - scripts - random scripts
HTML git clone git://parazyd.org/scripts.git
DIR Log
DIR Files
DIR Refs
---
DIR commit af0786393d19457ffe414f3f3c75315c723c96d3
DIR parent 8baec70f7632a3ae021b636d95c76cec89508bad
HTML Author: parazyd <parazyd@dyne.org>
Date: Wed, 12 Jun 2019 08:01:02 +0200
Add chromium to ff.
Diffstat:
M ff | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
DIR diff --git a/ff b/ff
t@@ -1,3 +1,12 @@
#!/bin/sh
-xhost si:localuser:ff && \
- exec sudo -u ff firefox -no-remote -ProfileManager "$@"
+case "$(basename $0)" in
+cb)
+ xhost si:localuser:ff && \
+ exec sudo -u ff /usr/bin/chromium --no-sandbox $@
+ ;;
+
+ff)
+ xhost si:localuser:ff && \
+ exec sudo -u ff /usr/bin/firefox -no-remote -ProfileManager $@
+ ;;
+esac