diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-24 13:24:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-24 13:24:25 -0300 |
commit | ecf7d3f9254f2c6e8b55d6c3ae4003c05bc15e61 (patch) | |
tree | 707eb779e8a9bab0715c312ec1731706ce2923f0 /chromium-profile | |
parent | 15a65d5265ca0e19b5f34ce16afff979126bb7a4 (diff) | |
download | utils-x11-ecf7d3f9254f2c6e8b55d6c3ae4003c05bc15e61.tar.gz utils-x11-ecf7d3f9254f2c6e8b55d6c3ae4003c05bc15e61.tar.bz2 |
Minor enhancement at chromium-profile
Diffstat (limited to 'chromium-profile')
-rwxr-xr-x | chromium-profile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium-profile b/chromium-profile index 513e615..c815a0e 100755 --- a/chromium-profile +++ b/chromium-profile @@ -9,9 +9,11 @@ if [ -z "$1" ]; then exit 1 fi -PROFILE="~/.config/chromium-profiles/$1" -shift - if which chromium 2> /dev/null; then + BASE="~/.config/chromium-profiles" + PROFILE="$BASE/$1" + mkdir -p $PROFILE + shift + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $* fi |