aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/khard
blob: cb02889b3e9b118c2511182e4f6e3304a507c22a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
CFG="$XDG_CONFIG_HOME/khard/khard.conf"
if [ "$CFG" -ot "$XDG_CONFIG_HOME/khard/config.sh" ] ; then
	cat - "$XDG_CONFIG_HOME/khard/base" << "EOF" > "$CFG"
# THIS FILE IS AUTO-GENERATED, EDIT config_gen OR base INSTEAD!!!

EOF
	"$XDG_CONFIG_HOME/khard/config_gen" >> "$CFG"
fi

exec /usr/bin/khard "$@"