1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

Revert "status-notifier-watcher: introduce unit start delay"

This reverts commit 02c1f8d416.
This commit is contained in:
Nick Hu 2021-05-18 13:26:44 +01:00 committed by Robert Helgesson
parent 3612ca58e8
commit 73ecbd3722
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

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