Commit Graph

13 Commits

Author SHA1 Message Date
Davi Ribeiro 4593b823d7 wallpaper: fix random for multi-monitor setup (#63) 2025-10-17 04:59:13 +11:00
Givani Boekestijn c6f46db36c 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
2025-10-17 04:56:32 +11:00
2 * r + 2 * t 6cdfe72e8b wallpaper: random prevent duplicate 2025-08-23 16:22:09 +10:00
2 * r + 2 * t e2a34210e5 wallpaper: allow relative paths
Fixes caelestia-dots/shell#200
2025-07-07 14:35:39 +10:00
2 * r + 2 * t 35ea4a2dbc wallpaper: better variant detection 2025-06-25 23:44:50 +10:00
2 * r + 2 * t affa3bfd21 [!B] wallpaper: smart variant 2025-06-24 00:30:52 +10:00
2 * r + 2 * t 82f98a4f6a [!B] colours: better colours
Also remove multiple dynamic flavours
Add extended material (success colours)
2025-06-24 00:11:20 +10:00
2 * r + 2 * t 3416178ad4 wallpaper: fix print command 2025-06-17 13:29:25 +10:00
2 * r + 2 * t 9b58f7bf02 wallpaper: fix smart mode
Do not switch mode if not dynamic scheme
2025-06-17 12:13:21 +10:00
2 * r + 2 * t 8889378c1d wallpaper: fix print opt
Print actual scheme, not just colours
2025-06-15 14:09:18 +10:00
2 * r + 2 * t 9da9d7bb1b wallpaper: fix when no wall 2025-06-13 14:50:25 +10:00
2 * r + 2 * t a97de9d430 wallpaper: cache smart mode 2025-06-12 21:51:59 +10:00
2 * r + 2 * t c043a14ca2 feat: impl wallpaper 2025-06-12 21:35:05 +10:00