wayfire: remove optional toString (#1658)

Link: https://github.com/nix-community/stylix/pull/1658

Reviewed-by: 1444 <54070204+0x5a4@users.noreply.github.com>
Tested-by: 1444 <54070204+0x5a4@users.noreply.github.com>
This commit is contained in:
NAHO 2025-07-13 17:04:40 +02:00 committed by GitHub
parent 05752c77ac
commit a950a3f529
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -33,13 +33,13 @@ mkTarget {
{
wayland.windowManager.wayfire.settings = {
cube = {
cubemap_image = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
skydome_texture = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
cubemap_image = lib.mkIf cfg.useWallpaper wayfireBackground;
skydome_texture = lib.mkIf cfg.useWallpaper wayfireBackground;
};
};
wayland.windowManager.wayfire.wf-shell.settings = {
background.image = lib.mkIf cfg.useWallpaper (toString wayfireBackground);
background.image = lib.mkIf cfg.useWallpaper wayfireBackground;
background.fill_mode =
if imageScalingMode == "stretch" then
"stretch"