google-chrome/google-chrome-stable.sh

11 lines
299 B
Bash
Raw Normal View History

2015-08-26 17:36:59 +00:00
#!/bin/bash
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
2015-08-26 17:36:59 +00:00
# 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)"
2015-08-26 17:36:59 +00:00
fi
# Launch
2015-09-04 18:57:18 +00:00
exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"