1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

matugen: pywalfox update via post_hook (#619)

This commit is contained in:
ffoebel
2025-11-03 22:00:26 +01:00
committed by GitHub
parent 3f70ca3506
commit 1d3e59b5dd
2 changed files with 2 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
[templates.dmspywalfox]
input_path = './matugen/templates/pywalfox-colors.json'
output_path = '~/.cache/wal/dank-pywalfox.json'
post_hook = 'command -v pywalfox && test -f ~/.cache/wal/colors.json && pywalfox update'

View File

@@ -413,10 +413,6 @@ EOF
set_system_color_scheme "$mode"
}
if command -v pywalfox >/dev/null 2>&1 && [[ -f "$HOME/.cache/wal/colors.json" ]]; then
pywalfox update >/dev/null 2>&1 || true
fi
while :; do
DESIRED="$(read_desired)"
WANT_KEY="$(key_of "$DESIRED")"