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:
@@ -1,3 +1,4 @@
|
|||||||
[templates.dmspywalfox]
|
[templates.dmspywalfox]
|
||||||
input_path = './matugen/templates/pywalfox-colors.json'
|
input_path = './matugen/templates/pywalfox-colors.json'
|
||||||
output_path = '~/.cache/wal/dank-pywalfox.json'
|
output_path = '~/.cache/wal/dank-pywalfox.json'
|
||||||
|
post_hook = 'command -v pywalfox && test -f ~/.cache/wal/colors.json && pywalfox update'
|
||||||
|
|||||||
@@ -413,10 +413,6 @@ EOF
|
|||||||
set_system_color_scheme "$mode"
|
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
|
while :; do
|
||||||
DESIRED="$(read_desired)"
|
DESIRED="$(read_desired)"
|
||||||
WANT_KEY="$(key_of "$DESIRED")"
|
WANT_KEY="$(key_of "$DESIRED")"
|
||||||
|
|||||||
Reference in New Issue
Block a user