]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Support for private window at firefox-profile
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Mar 2019 14:09:32 +0000 (11:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Mar 2019 14:09:32 +0000 (11:09 -0300)
firefox-profile

index a5dc54531b66d2cf210b912f31ddee10b8ea5fb0..f7cee61f40cef88e787cecc788407dd81a280e60 100755 (executable)
@@ -14,9 +14,9 @@ if ! which firefox &> /dev/null; then
 fi
 
 # Dispatch
-#if [ ! -z "$1" ] && [ "$1" == "private" ]; then
-#  firefox -private
-if [ ! -z "$1" ]; then
+if [ ! -z "$1" ] && [ "$1" == "private" ]; then
+  firefox -private-window
+elif [ ! -z "$1" ]; then
   if [ ! -d "$PROFILES/$1" ]; then
     firefox -CreateProfile "$1 $PROFILES/$1"