mirror of
https://github.com/luzifer-aur/google-chrome.git
synced 2024-11-08 11:00:09 +00:00
11 lines
No EOL
299 B
Bash
11 lines
No EOL
299 B
Bash
#!/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 "$@" |