mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
add systemd support (#1253)
* add systemd support motivation for this is is proper ordering of related/bound/required services to Hyprland (e.g. swaybg) that would need to have a compositor ready. this could possibly be a build-time option of course. see also: example/ files for example of services Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com> * nix: add withSystemd flag Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com> Co-authored-by: Mihai Fufezan <fufexan@protonmail.com> Co-authored-by: Vaxerski <vaxry@vaxry.net>
This commit is contained in:
12
example/hyprland.service
Normal file
12
example/hyprland.service
Normal file
@@ -0,0 +1,12 @@
|
||||
; a primitive systemd --user example
|
||||
[Unit]
|
||||
Description = %p
|
||||
BindsTo = graphical-session.target
|
||||
Upholds = swaybg@333333.service
|
||||
|
||||
[Service]
|
||||
Type = notify
|
||||
ExecStart = /usr/bin/Hyprland
|
||||
|
||||
[Install]
|
||||
WantedBy = default.target
|
Reference in New Issue
Block a user