summarylogtreecommitdiffstats
path: root/vscodium-bin.sh
blob: 343ca1aa69c1d2f43b492d047cd4bbe719b63ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

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

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/codium-flags.conf ]]; then
   CODE_USER_FLAGS="$(cat $XDG_CONFIG_HOME/codium-flags.conf)"
fi

# Launch
exec /opt/vscodium-bin/bin/codium $CODE_USER_FLAGS "$@"