From 661d4964d99a0a5cbab358643c6a271422e0d001 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Sat, 6 Apr 2024 20:08:58 +0200 Subject: Programming Feng Shui praxis --- share/cfg/wpaperd.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/cfg/wpaperd.nix (limited to 'share/cfg/wpaperd.nix') 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"; + }; + }; +} -- cgit v1.3.1