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" ]; };