From bcec9f836006933c1b90c5c054ca33ae3bff90d5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 17 Oct 2017 00:41:00 +0200 Subject: [PATCH] fix(desktop): Bind feh-wp.timer to graphical target --- desktop.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop.nix b/desktop.nix index 335e15d87..60b827cb6 100644 --- a/desktop.nix +++ b/desktop.nix @@ -41,7 +41,8 @@ in { systemd.user.timers.feh-wp = { description = "Set a random wallpaper every hour"; - wantedBy = [ "timers.target" ]; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; timerConfig = { OnActiveSec = "3second";