Complete wallpaper support with new config

Load wallpaper_image_path from config with tilde expansion (environment
variables are not supported)

On the way for this commit, I also had to:
- Fix wallpaper not rendering on startup by triggering init from
the .wl_output handler, since wl_output.done is lost during the
initial roundtrip
- Re-render wallpapers on config reload when the path changes
- Fix crash in deinitWallpaperLayerSurface when wl_surface is null
This commit is contained in:
Ben Buhse 2026-02-07 19:11:10 -06:00
commit 3c16929a6a
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
6 changed files with 100 additions and 17 deletions

View file

@ -12,8 +12,7 @@ These are in rough order of my priority, though no promises I do them in this or
- [ ] Switch all structs to idiomatic Zig init/deinit pattern (init returns value, caller decides stack/heap)
- [ ] Support per-host config using properties
- [ ] Support wallpapers
- [ ] Support a bar
- [ ] Support a basic bar
- [ ] Support starting programs at WM launch
- [ ] Support overriding config location
- [ ] Add support for multimedia/brightness keys
@ -23,4 +22,5 @@ These are in rough order of my priority, though no promises I do them in this or
- [x] Support changeable primary ratio
- [x] Support changeable primary count
- [x] Support multiple outputs
- [X] Support floating windows
- [x] Support floating windows
- [x] Support wallpapers