bugfixes and improved themeing support

This commit is contained in:
2025-09-02 12:31:44 +02:00
parent 230b534501
commit 0ba9ec2932
10 changed files with 410 additions and 129 deletions

View File

@@ -1,4 +1,5 @@
if [ "${CONFIGFILE:-}" ]; then
[ ! -f "$CONFIGFILE" ] && err "Configuration $CONFIGFILE not found." && exit 1
. "$CONFIGFLIE"
fi
CONFIGFILE_DEFAULT="$HOME/.config/$APP_NAME/config"
CONFIGFILE="${CONFIGFILE:-"$CONFIGFILE_DEFAULT"}"
[ "$CONFIGFILE" != "$CONFIGFILE_DEFAULT" ] && [ ! -f "$CONFIGFILE" ] && err "The configuration file manually specified with the environment variable CONFIGFILE=($CONFIGFILE) does not exist." && exit 1
# shellcheck source=/dev/null
[ -f "$CONFIGFILE" ] && . "$CONFIGFILE"