Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Dec 4, 2024
1 parent 95d4498 commit b525135
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions modules/workspace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,9 @@ in
lib.optionalString
(cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { })
''desktop.writeConfig("${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
"Blur"
else
"Color"
if cfg.workspace.wallpaperBackground.blur != null then "Blur" else "Color"
}", "${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
if cfg.workspace.wallpaperBackground.blur != null then
lib.boolToString cfg.workspace.wallpaperBackground.blur
else
cfg.workspace.wallpaperBackground.color
Expand Down Expand Up @@ -503,12 +500,9 @@ in
lib.optionalString
(cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { })
''desktop.writeConfig("${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
"Blur"
else
"Color"
if cfg.workspace.wallpaperBackground.blur != null then "Blur" else "Color"
}", "${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
if cfg.workspace.wallpaperBackground.blur != null then
lib.boolToString cfg.workspace.wallpaperBackground.blur
else
cfg.workspace.wallpaperBackground.color
Expand Down Expand Up @@ -563,12 +557,9 @@ in
lib.optionalString
(cfg.workspace.wallpaperBackground != null || cfg.workspace.wallpaperBackground != { })
''desktop.writeConfig("${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
"Blur"
else
"Color"
if cfg.workspace.wallpaperBackground.blur != null then "Blur" else "Color"
}", "${
if cfg.workspace.wallpaperBackground ? blur && cfg.workspace.wallpaperBackground.blur != null then
if cfg.workspace.wallpaperBackground.blur != null then
lib.boolToString cfg.workspace.wallpaperBackground.blur
else
cfg.workspace.wallpaperBackground.color
Expand Down

0 comments on commit b525135

Please sign in to comment.