From e1403a12d5c41a14f55905b7f2663b8c1837ccfb Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sat, 30 Nov 2024 18:59:34 +0100 Subject: [PATCH] sway: handle cursor names containing spaces Closes: https://github.com/danth/stylix/issues/648 Fixes: 07795247c2db ("Add cursor support (#172)") Link: https://github.com/danth/stylix/pull/654 --- modules/sway/hm.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/sway/hm.nix b/modules/sway/hm.nix index 1da892e2b..6a201ccfb 100644 --- a/modules/sway/hm.nix +++ b/modules/sway/hm.nix @@ -55,10 +55,7 @@ in { }; output."*".bg = "${config.stylix.image} ${config.stylix.imageScalingMode}"; - - seat."*" = { - xcursor_theme = "${config.stylix.cursor.name} ${toString config.stylix.cursor.size}"; - }; + seat."*".xcursor_theme = ''"${config.stylix.cursor.name}" ${toString config.stylix.cursor.size}''; }; })