wayfire: mixup between wayfire and wf-shell settings (#1670)

Fixes: aa5e3c0333 ("treewide: use mkTarget (batch 3) (#1371)")
Link: https://github.com/nix-community/stylix/pull/1670

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
1444 2025-07-11 13:00:32 +02:00 committed by GitHub
parent 458d283547
commit 0150050d6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,12 +31,15 @@ mkTarget {
'';
in
{
wayland.windowManager.wayfire.wf-shell.settings = {
background.image = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
wayland.windowManager.wayfire.settings = {
cube = {
cubemap_image = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
skydome_texture = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
};
};
wayland.windowManager.wayfire.wf-shell.settings = {
background.image = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
background.fill_mode =
if imageScalingMode == "stretch" then
"stretch"
@ -44,7 +47,6 @@ mkTarget {
"preserve_aspect"
else
"fill_and_crop";
};
}
)