diff options
author | jrun <[email protected]> | 2023-01-05 14:17:55 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2023-01-05 20:17:55 +0100 |
commit | 0d14fd9136d7dbd731b02ce8501ff725f11b71cc (patch) | |
tree | 762f31d08fb83a93f32ad9f2b148676b1662833a /example/[email protected] | |
parent | 96198dae55b1429449504e49065a10763b288431 (diff) | |
download | Hyprland-0d14fd9136d7dbd731b02ce8501ff725f11b71cc.tar.gz Hyprland-0d14fd9136d7dbd731b02ce8501ff725f11b71cc.zip |
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 <[email protected]>
* nix: add withSystemd flag
Signed-off-by: Paymon MARANDI <[email protected]>
Co-authored-by: Mihai Fufezan <[email protected]>
Co-authored-by: Vaxerski <[email protected]>
Diffstat (limited to 'example/[email protected]')
-rw-r--r-- | example/[email protected] | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/example/[email protected] b/example/[email protected] new file mode 100644 index 00000000..0636625d --- /dev/null +++ b/example/[email protected] @@ -0,0 +1,13 @@ +; a primitive systemd --user example +; see example/hyprland.service for more details +[Unit] +Description = %p +BindsTo = hyprland.service +Wants = hyprland.service +After = hyprland.service + +[Service] +ExecStart = /usr/bin/swaybg --color #%i + +[Install] +WantedBy = default.target |