hyprwm / hyprland-wiki

The Hyprland Wiki Pages, automatically synced with the website.
BSD 3-Clause "New" or "Revised" License
251 stars 383 forks source link

Add mention about possibility to start hypridle, hyprpaper and hyprpolkit with system services. #842

Closed izmyname closed 2 weeks ago

izmyname commented 2 weeks ago

Wording may not be the best, but I think it's worth to mention systemd services, as an alternative to exec-once=. Anyway, suggestions are welcome.

izmyname commented 2 weeks ago

From my experience, it's only possible to start systemd services from hyprland.conf, in your case as Hyprland, itself, doesn't provide graphical-session.target, required for them to be enabled on startup. On Arch Linux, at least.

This was the reason why I started to work on hyprland-session.service integration, in the first place.

fufexan commented 2 weeks ago

Ok, makes sense then. Still, I think the wording should be "if you start Hyprland as a systemd service".