From a950a3f529e1952a7ddf2af138b90a99edf41fe5 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sun, 13 Jul 2025 17:04:40 +0200 Subject: [PATCH] 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> --- flake/dev/flake.lock | 6 +++--- modules/wayfire/hm.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake/dev/flake.lock b/flake/dev/flake.lock index ac74ea61..b13f76cb 100644 --- a/flake/dev/flake.lock +++ b/flake/dev/flake.lock @@ -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": { diff --git a/modules/wayfire/hm.nix b/modules/wayfire/hm.nix index 2d35ba6d..437cc6bb 100644 --- a/modules/wayfire/hm.nix +++ b/modules/wayfire/hm.nix @@ -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"