From 683bc98c6f9b3dfcd7c1445360aabcc13eb7ad1e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 21 May 2022 11:08:01 -0700 Subject: Add configuration to set a random wallpaper on login --- oni/home/data/config.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'oni/home/data') diff --git a/oni/home/data/config.scm b/oni/home/data/config.scm index 005edf1..b633791 100644 --- a/oni/home/data/config.scm +++ b/oni/home/data/config.scm @@ -21,13 +21,15 @@ #:use-module (oni home services kdeconnect) #:use-module (oni home services cmst) #:use-module (oni home services syncthing) - #:use-module (oni packages hlwm-run-or-raise)) + #:use-module (oni packages hlwm-run-or-raise) + #:use-module (oni packages pick-random-wallpaper)) (home-environment (packages (list (specification->package+output "glibc-locales") (specification->package+output "font-fantasque-sans") (specification->package+output "font-comic-neue") - hlwm-run-or-raise)) + hlwm-run-or-raise + pick-random-wallpaper)) (services (list @@ -358,7 +360,8 @@ "keybind Mod4-apostrophe spawn dunstctl close" "keybind Mod4-quotedbl spawn dunstctl close-all" "keybind Mod4-Control-apostrophe spawn dunstctl history-pop" - "keybind Mod4-Mod1-apostrophe spawn dunstctl context")))) + "keybind Mod4-Mod1-apostrophe spawn dunstctl context" + "pick-random-wallpaper")))) (service home-polybar-service-type (home-polybar-configuration -- cgit v1.2.3-54-g00ecf