sway: handle cursor names containing spaces (#654)

Closes: https://github.com/danth/stylix/issues/648
Fixes: 07795247c2 ("Add cursor support (#172)")
Link: https://github.com/danth/stylix/pull/654
This commit is contained in:
NAHO 2024-12-03 16:40:44 +01:00 committed by GitHub
parent 74ee1ed505
commit 111c75d734
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}'';
};
})