aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-03-09 11:09:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-03-09 11:09:32 -0300
commit582e84412c3cd3c479bfc22175ee828cfd667095 (patch)
treed7eaa3922890ad8cdee2e459d34aea11d0920e61
parentf0df3ee9d5b887278f9eadced61ed48284b6664e (diff)
downloadutils-x11-582e84412c3cd3c479bfc22175ee828cfd667095.tar.gz
utils-x11-582e84412c3cd3c479bfc22175ee828cfd667095.tar.bz2
Support for private window at firefox-profile
-rwxr-xr-xfirefox-profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/firefox-profile b/firefox-profile
index a5dc545..f7cee61 100755
--- a/firefox-profile
+++ b/firefox-profile
@@ -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"