google-chrome-stable.sh 300 B

123456789101112
  1. #!/bin/bash
  2. XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
  3. # Allow users to override command-line options
  4. if [[ -f $XDG_CONFIG_HOME/chrome-flags.conf ]]; then
  5. CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-flags.conf)"
  6. fi
  7. # Launch
  8. exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"