waybar: fix service After value

Fixes #4469
This commit is contained in:
Robert Helgesson 2023-09-19 20:54:45 +02:00
parent f5b920f4d2
commit 8aac47a140
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 2 additions and 2 deletions

View file

@ -309,7 +309,7 @@ in {
"Highly customizable Wayland bar for Sway and Wlroots based compositors.";
Documentation = "https://github.com/Alexays/Waybar/wiki";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
After = [ "graphical-session-pre.target" ];
};
Service = {

View file

@ -8,7 +8,7 @@ KillMode=mixed
Restart=on-failure
[Unit]
After=graphical-session.target
After=graphical-session-pre.target
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki
PartOf=graphical-session.target