1
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2025-07-27 10:11:55 -07:00
Files
.github
assets
docs
example
hyprland.conf
hyprland.desktop
hyprland.service
launch.json
meson.build
screenShader.frag
swaybg@.service
hyprctl
hyprpm
nix
protocols
scripts
src
subprojects
systemd
.clang-format
.clang-format-ignore
.clang-tidy
.gitattributes
.gitignore
.gitmodules
CMakeLists.txt
CODE_OF_CONDUCT.md
LICENSE
Makefile
README.md
VERSION
flake.lock
flake.nix
hyprland.pc.in
meson.build
meson_options.txt
hyprland/example/swaybg@.service
jrun 0d14fd9136 add systemd support ()
* 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>
2023-01-05 20:17:55 +01:00

14 lines
290 B
Desktop File

; 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