Convert Swaylock image to string 🐛

This commit is contained in:
Daniel Thwaites 2022-07-30 15:24:59 +01:00 committed by GitHub
parent 98d1477611
commit 159048c15d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ in {
# See https://github.com/danth/stylix/issues/8#issuecomment-1194484544 # See https://github.com/danth/stylix/issues/8#issuecomment-1194484544
# This check can be removed when programs.swaylock is in a stable release # This check can be removed when programs.swaylock is in a stable release
programs.swaylock.settings = lib.mkIf (options.programs ? swaylock) { programs.swaylock.settings = lib.mkIf (options.programs ? swaylock) {
image = config.stylix.image; image = "${config.stylix.image}";
scaling = "fill"; scaling = "fill";
inside-color = inside; inside-color = inside;
inside-clear-color = inside; inside-clear-color = inside;