hyprpaper: update configuration format to support v0.8 (#2087)

Closes: https://github.com/nix-community/stylix/issues/408
Closes: https://github.com/nix-community/stylix/issues/2122
Link: https://github.com/nix-community/stylix/pull/2087
Link: https://wiki.hypr.land/Hypr-Ecosystem/hyprpaper

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: 0xda157 <da157@voidq.com>
This commit is contained in:
kerfuzzle 2026-01-08 20:15:01 +00:00 committed by GitHub
parent a525e4774f
commit 2b727da436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,11 @@
{ mkTarget, ... }:
{ lib, mkTarget, ... }:
mkTarget {
config =
{ image }:
{
services.hyprpaper.settings = {
preload = [ "${image}" ];
wallpaper = [ ",${image}" ];
services.hyprpaper.settings.wallpaper = lib.singleton {
monitor = "";
path = toString image;
};
};
}