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

6
flake/dev/flake.lock generated
View file

@ -178,11 +178,11 @@
]
},
"locked": {
"lastModified": 1752093218,
"narHash": "sha256-+3rXu8ewcNDi65/2mKkdSGrivQs5zEZVp5aYszXC0d0=",
"lastModified": 1752286566,
"narHash": "sha256-A4nftqiNz2bNihz0bKY94Hq/6ydR6UQOcGioeL7iymY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "206ed3c71418b52e176f16f58805c96e84555320",
"rev": "392ddb642abec771d63688c49fa7bcbb9d2a5717",
"type": "github"
},
"original": {

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"