aboutsummaryrefslogtreecommitdiff
path: root/source/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/src')
-rw-r--r--source/lib/src/wallpaper.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/lib/src/wallpaper.cpp b/source/lib/src/wallpaper.cpp
index 25cb493..c9c5cfe 100644
--- a/source/lib/src/wallpaper.cpp
+++ b/source/lib/src/wallpaper.cpp
@@ -80,8 +80,12 @@ namespace wanda
value = "file://" + wallpaper.native();
}) ||
[&] { get_logger()->error("invalid settings key"); };
+ with(setting["picture-uri-dark"_key], [&](auto & value) {
+ value = "file://" + wallpaper.native();
+ }) ||
+ [&] { get_logger()->error("invalid settings key"); };
}) ||
[&] { get_logger()->error("invalid setting"); };
}
-} // namespace wanda \ No newline at end of file
+} // namespace wanda