Skip to content

Commit

Permalink
avoid problems
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Nov 30, 2024
1 parent d01ec18 commit eb72b41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/workspace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ in
}");''
}
${
lib.optionalString (cfg.workspace.wallpaperBackground != null)
lib.optionalString
(cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { })
''desktop.writeConfig("${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
"Blur"
Expand Down Expand Up @@ -543,7 +544,8 @@ in
}");''
}
${
lib.optionalString (cfg.workspace.wallpaperBackground != null)
lib.optionalString
(cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { })
''desktop.writeConfig("${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
"Blur"
Expand Down

0 comments on commit eb72b41

Please sign in to comment.