summaryrefslogtreecommitdiff
path: root/google-chrome/google-chrome-stable.sh
blob: 3405ad70a2c60e237dcfa58ea76248de827cc4bc (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-flags.conf ]]; then
   CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-flags.conf)"
fi

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