summarylogtreecommitdiffstats
path: root/sunroof.sh
blob: add13fd906fbedf5d84e082a21980949eab879a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/sunroof-flags.conf ]]; then
    SUNROOF_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/sunroof-flags.conf)"
fi

# Launch
exec /usr/lib/sunroof/sunroof $SUNROOF_USER_FLAGS "$@"