summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/kernel.cpp
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-15 20:04:15 +0900
committerAdam Malczewski <[email protected]>2026-06-15 20:04:15 +0900
commit310ef9b53f0ab8396e15e6f9e077df5399508539 (patch)
treea20c412c63199abb697054d0850a471ea6c37417 /packages/kernel/src/kernel.cpp
parent143cb713b685a9089e85c90a932fb79efa606dc6 (diff)
downloadunbox-310ef9b53f0ab8396e15e6f9e077df5399508539.tar.gz
unbox-310ef9b53f0ab8396e15e6f9e077df5399508539.zip
ext-wallpaper: config-driven desktop wallpaper (new standard-tier unit)
A new standard-tier extension that composites a desktop background in the 'background' scene layer, below every window. Reads [wallpaper] from unbox.toml (path / fit = cover|contain|stretch|center / color), hot-reloaded via watch_file (drop + recreate an inline RCSS document with the values baked in -- avoids fragile decorator data-binding). The surface is input_transparent so it never steals clicks. Pure doctested config core; factory-only contract. When no path is configured it falls back to a bundled default image (assets/ext-wallpaper/default.jpg, auto-installed to the data dir), resolved to an absolute path via $UNBOX_ASSET_DIR or the UNBOX_ASSET_DIR_DEFAULT compile define. Degrades gracefully (color-only) if there is no GL path or the file is missing. Sized to the primary output (multi-output is a documented gap). Wiring (composition root): root meson subdir, host-bin installs it unconditionally with the config path, unbox.toml gains a documented [wallpaper] sample. (swaybg via ext-layer-shell's background band keeps working too.)
Diffstat (limited to 'packages/kernel/src/kernel.cpp')
0 files changed, 0 insertions, 0 deletions