mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-23 23:52:38 +03:00
f3f7d3629a
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
17 lines
531 B
SYSTEMD
17 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
|