Skip to content

Commit

Permalink
Fix kscreenlocker wallpaper assertion (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN authored Aug 6, 2024
1 parent 1b94895 commit 8d1c88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kscreenlocker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ in
{
assertion =
let
wallpapers = with cfg.workspace; [ wallpaperSlideShow wallpaper wallpaperPictureOfTheDay wallpaperPlainColor ];
wallpapers = with cfg.kscreenlocker.appearance; [ wallpaperSlideShow wallpaper wallpaperPictureOfTheDay wallpaperPlainColor ];
in
lib.count (x: x != null) wallpapers <= 1;
message = "Can set only one of wallpaper, wallpaperSlideShow, wallpaperPictureOfTheDay, and wallpaperPlainColor for kscreenlocker.";
Expand Down

0 comments on commit 8d1c88c

Please sign in to comment.