summarylogtreecommitdiffstats
path: root/google-chrome-beta.sh
blob: 5182da4fa19d18e6bb48ca1534e7479a1d60e790 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/chrome-beta-flags.conf ]]; then
    CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-beta-flags.conf)"
fi

# Launch
exec /opt/google/chrome-beta/google-chrome-beta $CHROME_USER_FLAGS "$@"