From 81100ba2ba31de905db69cb3f56376b455925657 Mon Sep 17 00:00:00 2001 From: Anton Plotnikov Date: Tue, 31 Jul 2018 15:30:17 +0300 Subject: [PATCH] taffybar and status-notifier-watcher: move run queue rules to sni watcher --- modules/services/status-notifier-watcher.nix | 6 +++++- modules/services/taffybar.nix | 6 +----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/services/status-notifier-watcher.nix b/modules/services/status-notifier-watcher.nix index 2fc2f18d..b9a84542 100644 --- a/modules/services/status-notifier-watcher.nix +++ b/modules/services/status-notifier-watcher.nix @@ -31,6 +31,7 @@ in Description = "SNI watcher"; After = [ "graphical-session-pre.target" ]; PartOf = [ "graphical-session.target" ]; + Before = [ "taffybar.service" ]; }; Service = { @@ -38,7 +39,10 @@ in }; Install = { - WantedBy = [ "graphical-session.target" ]; + WantedBy = [ + "graphical-session.target" + "graphical-session-pre.target" + ]; }; }; }; diff --git a/modules/services/taffybar.nix b/modules/services/taffybar.nix index 273dfaed..b8a64240 100644 --- a/modules/services/taffybar.nix +++ b/modules/services/taffybar.nix @@ -29,11 +29,7 @@ in systemd.user.services.taffybar = { Unit = { Description = "Taffybar desktop bar"; - Wanted = [ "graphical-session-pre.target" ]; - After = [ - "graphical-session-pre.target" - "status-notifier-watcher.service" - ]; + After = [ "graphical-session-pre.target" ]; PartOf = [ "graphical-session.target" ]; };