summarylogtreecommitdiffstats
path: root/mercury-browser-sse4.sh
blob: 45924d82ffb22978c0a7e10a61f7665671372882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

# Allow users to override command-line options
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
_FLAGFILE="$XDG_CONFIG_HOME/mercury-flags.conf"
if [[ -f "$_FLAGFILE" ]]; then
  _USER_FLAGS=$(cat "$_FLAGFILE")
fi

# Launch
exec /opt/mercury-browser-sse4/mercury $_USER_FLAGS "$@"