Adds proper wallpaper reaction to theme
This commit is contained in:
parent
ab0c103ad9
commit
1a04002bd2
22 changed files with 96 additions and 55 deletions
19
.config/theming/modes/setup-theme.sh
Executable file
19
.config/theming/modes/setup-theme.sh
Executable 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue