From 73ecbd37223e04321a32c5c34e4f01111fdc3674 Mon Sep 17 00:00:00 2001 From: Nick Hu Date: Tue, 18 May 2021 13:26:44 +0100 Subject: [PATCH] Revert "status-notifier-watcher: introduce unit start delay" This reverts commit 02c1f8d416d55d8bc8d4de62f65f62fef40e5e80. --- modules/services/status-notifier-watcher.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/services/status-notifier-watcher.nix b/modules/services/status-notifier-watcher.nix index ed0537e22..3c3e54877 100644 --- a/modules/services/status-notifier-watcher.nix +++ b/modules/services/status-notifier-watcher.nix @@ -34,14 +34,7 @@ in { Before = [ "taffybar.service" ]; }; - Service = { - ExecStart = "${cfg.package}/bin/status-notifier-watcher"; - # Delay the unit start a bit to allow the program to get fully - # set up before letting dependent services start. This is - # brittle and a better solution using, e.g., `BusName=` might - # be possible. - ExecStartPost = "${pkgs.coreutils}/bin/sleep 1"; - }; + Service = { ExecStart = "${cfg.package}/bin/status-notifier-watcher"; }; Install = { WantedBy = [ "graphical-session.target" "taffybar.service" ];