about summary refs log tree commit diff
path: root/desktop.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-16T22·41+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-16T22·41+0200
commitbcec9f836006933c1b90c5c054ca33ae3bff90d5 (patch)
tree3744801e289f164be3e819684485a69cb8484cfa /desktop.nix
parent4327d0e0b982f8ab7ad43b3ddc784a9a8907a158 (diff)
fix(desktop): Bind feh-wp.timer to graphical target
Diffstat (limited to 'desktop.nix')
-rw-r--r--desktop.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop.nix b/desktop.nix
index 335e15d87d88..60b827cb6f6d 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";