diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-24 12:54:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-24 12:54:52 -0300 |
commit | 0d9a256fec8cd3a2d696d7d3c34c1ae11730f3e9 (patch) | |
tree | e8d8364bed73aa7e487bfc02586f29efa7079ae8 /chromium-profile | |
parent | 4b7aaa0857aaf85334c9bb1870622a3a69412488 (diff) | |
download | utils-x11-0d9a256fec8cd3a2d696d7d3c34c1ae11730f3e9.tar.gz utils-x11-0d9a256fec8cd3a2d696d7d3c34c1ae11730f3e9.tar.bz2 |
Adds chromium-profile
Diffstat (limited to 'chromium-profile')
-rwxr-xr-x | chromium-profile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium-profile b/chromium-profile new file mode 100755 index 0000000..c7fb573 --- /dev/null +++ b/chromium-profile @@ -0,0 +1,16 @@ +# +# Wrapper around chromium to enable extensions +# See https://wiki.debian.org/Chromium#Extensions +# https://www.chromium.org/developers/creating-and-using-profiles + +# Check +if [ -z "$1" ]; then + cat $0 + exit 1 +fi + +PROFILE="~/.config/chromium-profiles/$1" + +if which chromium 2> /dev/null; then + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $* +fi |