aboutsummaryrefslogtreecommitdiff
path: root/share/home/wpaperd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/home/wpaperd.nix')
-rw-r--r--share/home/wpaperd.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/home/wpaperd.nix b/share/home/wpaperd.nix
new file mode 100644
index 0000000..d348c27
--- /dev/null
+++ b/share/home/wpaperd.nix
@@ -0,0 +1,15 @@
+# IMPORTANT: this is the config for a custom module that's located at
+# /share/hm-modules/wpaperd.nix. In order to use this config you have to also
+# import that module.
+{ config, ... }:
+let wallpapers-dir = "${config.xdg.userDirs.pictures}/Wallpapers";
+in {
+ services.wpaperd = {
+ enable = true;
+ settings.default = {
+ path = wallpapers-dir;
+ duration = "5m";
+ sorting = "random";
+ };
+ };
+}