diff options
Diffstat (limited to 'google-chrome-stable.sh')
-rw-r--r-- | google-chrome-stable.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/google-chrome-stable.sh b/google-chrome-stable.sh index e55c82246cbc..3405ad70a2c6 100644 --- a/google-chrome-stable.sh +++ b/google-chrome-stable.sh @@ -1,8 +1,10 @@ #!/bin/bash +XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} + # Allow users to override command-line options -if [[ -f ~/.config/chrome-flags.conf ]]; then - CHROME_USER_FLAGS="$(cat ~/.config/chrome-flags.conf)" +if [[ -f $XDG_CONFIG_HOME/chrome-flags.conf ]]; then + CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-flags.conf)" fi # Launch |