1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01: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" ]; Before = [ "taffybar.service" ];
}; };
Service = { Service = { ExecStart = "${cfg.package}/bin/status-notifier-watcher"; };
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";
};
Install = { Install = {
WantedBy = [ "graphical-session.target" "taffybar.service" ]; WantedBy = [ "graphical-session.target" "taffybar.service" ];