summarylogtreecommitdiffstats
path: root/vesktop.sh
blob: e03253075afc4ea6dbc01d7eec804296a760bb52 (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/vesktop-flags.conf ]]; then
    VESKTOP_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/vesktop-flags.conf)"
fi

# Launch
exec /usr/lib/vesktop/vesktop $VESKTOP_USER_FLAGS "$@"