diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-03-09 10:36:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-03-09 10:36:58 -0300 |
commit | 1e43f69be26f77c2ba07261a9cddc062cfe04a0a (patch) | |
tree | bb82bd9ec8c54416056a98f8e2c1a98c47deef9b | |
parent | fa7e46cc65d0063c839fd4495b893b67760e3630 (diff) | |
download | utils-x11-1e43f69be26f77c2ba07261a9cddc062cfe04a0a.tar.gz utils-x11-1e43f69be26f77c2ba07261a9cddc062cfe04a0a.tar.bz2 |
Always start the new instance at firefox-profile
-rwxr-xr-x | firefox-profile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firefox-profile b/firefox-profile index a738ede..8e5e490 100755 --- a/firefox-profile +++ b/firefox-profile @@ -15,15 +15,15 @@ fi # Dispatch if [ ! -z "$1" ] && [ "$1" != "template" ]; then - if [ -d "$PROFILES/$1" ]; then - firefox -p $1 -new-instance & - else + if [ ! -d "$PROFILES/$1" ]; then firefox -CreateProfile "$1 $PROFILES/$1" if [ -d "$PROFILES/template" ]; then rm -rf $PROFILES/$1 && cp -a $PROFILES/template $PROFILES/$1 fi fi + + firefox -p $1 -new-instance & else - firefox --profilemanager -new-instance + firefox --profilemanager -new-instance & fi |