[Eww] Add delay to eww.

This commit is contained in:
2026-07-26 20:47:23 -07:00
parent 7f77140d89
commit 7aace1daba

View File

@@ -36,7 +36,8 @@
Service = { Service = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
ExecStart = "${pkgs.eww}/bin/eww open-many ${lib.concatStringsSep " " config.programs.eww.widgets}"; # Eww won't start right if Hyprland hasn't finished initializing.
ExecStart = "sleep 2 && ${pkgs.eww}/bin/eww open-many ${lib.concatStringsSep " " config.programs.eww.widgets}";
ExecStop = "${pkgs.eww}/bin/eww kill"; ExecStop = "${pkgs.eww}/bin/eww kill";
}; };