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:
parent
458d283547
commit
0150050d6e
1 changed files with 5 additions and 3 deletions
|
|
@ -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";
|
||||
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue