Adds proper wallpaper reaction to theme

This commit is contained in:
Michel Fedde 2025-05-02 14:36:12 +02:00
parent ab0c103ad9
commit 1a04002bd2
22 changed files with 96 additions and 55 deletions

View file

@ -0,0 +1,19 @@
#!/bin/env sh
set -eu
SCRIPTPATH="$(
cd -- "$(dirname "$0")" >/dev/null 2>&1
pwd -P
)"
EXECUTORS_PATH="$SCRIPTPATH/executors"
export TARGET_MODE=$1
echo "=> Setup ${TARGET_MODE}..."
while IFS= read -r file; do
if [[ -x "$file" && ! "$file" =~ "##" && ! "$file" =~ ~$ && ! "$file" =~ ".bak" ]]; then
$file
fi
done < <(find -L "$EXECUTORS_PATH" -type f | sort)