diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-11-03 15:59:16 +0100 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-11-03 15:59:16 +0100 |
| commit | f559671cae7b02526dedf7923b135c09e0d095d5 (patch) | |
| tree | 0f273fb13211c4aa7cae2add41e3aa2b1c6d7785 /share/home/wpaperd.nix | |
Inital commit ;P
Diffstat (limited to 'share/home/wpaperd.nix')
| -rw-r--r-- | share/home/wpaperd.nix | 15 |
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"; + }; + }; +} |
