fix(swayosd): ensure swayosd starts reliably
- Add explicit 'systemctl --user start swayosd' to Hyprland exec-once - Harden systemd service definition with proper dependencies and targets
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
# essentials
|
||||
"hyprpm reload -n"
|
||||
"systemctl --user start hyprpolkitagent"
|
||||
"systemctl --user start swayosd"
|
||||
"hyprsunset -t 4500" # TODO: must be optional
|
||||
];
|
||||
};
|
||||
|
||||
@@ -10,11 +10,14 @@
|
||||
Unit = {
|
||||
StartLimitBurst = lib.mkForce 5;
|
||||
StartLimitIntervalSec = lib.mkForce 30;
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Restart = lib.mkForce "on-failure";
|
||||
RestartSec = lib.mkForce "100ms";
|
||||
RestartSec = lib.mkForce "1s";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
||||
Reference in New Issue
Block a user