Skip to content

Commit

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

0 comments on commit f34b93e

Please sign in to comment.