Skip to content

Commit

Permalink
fix(stalonetray): added wating a few secounds after boot desktop
Browse files Browse the repository at this point in the history
stalonetray started too fast for desktop as always was crashed. It
requires restart service after start desktop. I added 5s sleep command
to delay restart system tray daemon and it's works :)
  • Loading branch information
Wittano committed Jan 6, 2025
1 parent dcd538a commit b7d187a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home-manager/stalonetray.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ with lib;
};

desktop.autostart.programs = [
"${pkgs.systemd}/bin/systemctl --user restart stalonetray.service"
"${pkgs.toybox}/bin/sleep 5 && ${pkgs.systemd}/bin/systemctl --user restart stalonetray.service"
];

services.stalonetray = {
Expand Down

0 comments on commit b7d187a

Please sign in to comment.