mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 12:26:00 +01:00
f3f7d3629a
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
16 lines
531 B
SYSTEMD
16 lines
531 B
SYSTEMD
[Unit]
|
|
Description=Hyprland - Tiling compositor with the looks
|
|
Documentation=man:Hyprland(1)
|
|
BindsTo=graphical-session.target
|
|
Before=graphical-session.target
|
|
Wants=xdg-desktop-autostart.target
|
|
Wants=graphical-session-pre.target
|
|
After=graphical-session-pre.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=@PREFIX@/@BINDIR@/Hyprland
|
|
ExecStop=@PREFIX@/@BINDIR@/hyprctl dispatch exit
|
|
ExecStopPost=systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP
|
|
Restart=on-failure
|
|
Slice=session.slice
|