From f559671cae7b02526dedf7923b135c09e0d095d5 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Fri, 3 Nov 2023 15:59:16 +0100 Subject: Inital commit ;P --- share/home/wpaperd.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 share/home/wpaperd.nix (limited to 'share/home/wpaperd.nix') 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"; + }; + }; +} -- cgit v1.3.1