diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-13 21:58:42 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-13 22:00:25 +0100 |
commit | d6180ac911b1c6bf3e08115a20421802d5e3685d (patch) | |
tree | a9c9617b6296a08fc1a2cb5b83ce277c2b03f208 /.local/share | |
parent | 89149ca87b03fcbfca7a8faa8947c51636f85129 (diff) |
WIP add khard configuration
Diffstat (limited to '.local/share')
-rwxr-xr-x | .local/share/bin/khard | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.local/share/bin/khard b/.local/share/bin/khard new file mode 100755 index 0000000..cb02889 --- /dev/null +++ b/.local/share/bin/khard @@ -0,0 +1,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 "$@" + |