mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-08 04:09:15 -04:00
fix: make matugen switch pywalfox dark/light mode (#2537)
Currently, when switching dark/light theme in DMS, pywalfox's mode does not get updated. This commit adds `pywalfox light/dark` to the matugen post_hook to fix that.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[templates.dmspywalfox]
|
||||
input_path = 'SHELL_DIR/matugen/templates/pywalfox-colors.json'
|
||||
output_path = 'CACHE_DIR/wal/dank-pywalfox.json'
|
||||
post_hook = 'sh -c "command -v pywalfox && test -f ~/.cache/wal/colors.json && pywalfox update"'
|
||||
post_hook = 'sh -c "command -v pywalfox && test -f ~/.cache/wal/colors.json && pywalfox {{ mode }} && pywalfox update"'
|
||||
|
||||
Reference in New Issue
Block a user