hyprland: start waybar via systemd user unit, not exec-once
exec-once raced Wayland session init — waybar tried to connect before the display was ready and exited silently. Enable HM's programs.waybar.systemd.enable so the unit waits on graphical-session.target. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
4940a6f44a
commit
772073454d
1 changed files with 4 additions and 1 deletions
|
|
@ -97,7 +97,9 @@
|
|||
"$menu" = "fuzzel";
|
||||
|
||||
exec-once = [
|
||||
"waybar"
|
||||
# waybar starts via its systemd user service — see programs.waybar
|
||||
# below — so it waits for graphical-session.target instead of
|
||||
# racing the Wayland init.
|
||||
"mako"
|
||||
"hyprpaper"
|
||||
"nm-applet --indicator"
|
||||
|
|
@ -273,6 +275,7 @@
|
|||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true; # start via graphical-session.target
|
||||
|
||||
settings.mainBar = {
|
||||
layer = "top";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue