diff options
Diffstat (limited to 'share/cfg/wpaperd.nix')
| -rw-r--r-- | share/cfg/wpaperd.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/cfg/wpaperd.nix b/share/cfg/wpaperd.nix new file mode 100644 index 0000000..f5e58b4 --- /dev/null +++ b/share/cfg/wpaperd.nix @@ -0,0 +1,14 @@ +# 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 = { + settings.default = { + path = wallpapers-dir; + duration = "10m"; + sorting = "random"; + }; + }; +} |
