1
0
Fork 0
mirror of https://github.com/hyprwm/Hyprland synced 2024-12-24 06:29:50 +01:00
Hyprland/example/hyprland-session.service
JL2210 01e3da4d51
examples: more systemd examples ()
These allow launching hyprland with a systemd service. They provide
graphical-session.target which allows enabling services such as the
ones for Waybar and Mako.
2024-08-19 14:02:09 +01:00

14 lines
358 B
Desktop File

[Unit]
Description=Hyprland - Tiling compositor with the looks
Documentation=man:Hyprland(1)
BindsTo=graphical-session.target
Before=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target
[Service]
Type=notify
ExecStart=/usr/bin/Hyprland
ExecStop=/usr/bin/hyprctl dispatch exit
Restart=on-failure
Slice=session.slice