diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-06 20:08:58 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-06 20:39:25 +0200 |
| commit | 661d4964d99a0a5cbab358643c6a271422e0d001 (patch) | |
| tree | 9ebc3d6316a1333a39b9817acb3753d8cdbfff7f /share/cfg/wpaperd.nix | |
| parent | 1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff) | |
Programming Feng Shui praxis
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"; + }; + }; +} |
