From 2ca2bc5fb8e7dd69722d6c36637401f30328e333 Mon Sep 17 00:00:00 2001 From: Miguel Saliba <36637899+miguelsaliba@users.noreply.github.com> Date: Sun, 31 May 2026 00:35:06 -0400 Subject: [PATCH] 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. --- quickshell/matugen/configs/pywalfox.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickshell/matugen/configs/pywalfox.toml b/quickshell/matugen/configs/pywalfox.toml index 40a3c5a4..cea97da4 100644 --- a/quickshell/matugen/configs/pywalfox.toml +++ b/quickshell/matugen/configs/pywalfox.toml @@ -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"'