diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-16T22·41+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-10-16T22·41+0200 |
commit | bcec9f836006933c1b90c5c054ca33ae3bff90d5 (patch) | |
tree | 3744801e289f164be3e819684485a69cb8484cfa /desktop.nix | |
parent | 4327d0e0b982f8ab7ad43b3ddc784a9a8907a158 (diff) |
fix(desktop): Bind feh-wp.timer to graphical target
Diffstat (limited to 'desktop.nix')
-rw-r--r-- | desktop.nix | 3 |
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"; |