diff options
| author | Givani Boekestijn <givaniboek@hotmail.com> | 2025-10-16 19:56:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-17 04:56:32 +1100 |
| commit | c6f46db36c1b87244c4d12fb277bb7e0c7d71eae (patch) | |
| tree | 21ecbda379450e0ee9c00bcee7f73dbbae302e35 /.github/workflows/release.yml | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-cli-c6f46db36c1b87244c4d12fb277bb7e0c7d71eae.tar.gz caelestia-cli-c6f46db36c1b87244c4d12fb277bb7e0c7d71eae.tar.bz2 caelestia-cli-c6f46db36c1b87244c4d12fb277bb7e0c7d71eae.zip | |
feat: add wallpaper post-hook for dynamic theming (#61)
* feat: add wallpaper post-hook for dynamic theming
Adds support for running custom shell commands after wallpaper changes
via the `wallpaper.postHook` config option in `~/.config/caelestia/cli.json`.
The wallpaper path is made available to the hook via the $WALLPAPER_PATH
environment variable. This enables integration with tools like `matugen`
or `pywal` for dynamic theming based on wallpaper colors.
The hook runs after apply_colours() in set_wallpaper(), ensuring it
executes for all wallpaper change methods (UI, IPC, and direct CLI).
* Replaced comment in example config with no-op command
Diffstat (limited to '.github/workflows/release.yml')
0 files changed, 0 insertions, 0 deletions