Build with hyprland-session.service (#8251)

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
izmyname
2024-10-26 22:49:00 +03:00
committed by GitHub
co-authored by Mihai Fufezan
parent c356e42500
commit f3f7d3629a
5 changed files with 31 additions and 3 deletions
-16
View File
@@ -1,16 +0,0 @@
[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=/usr/bin/Hyprland
ExecStop=/usr/bin/hyprctl dispatch exit
ExecStopPost=/usr/bin/systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP
Restart=on-failure
Slice=session.slice
-5
View File
@@ -1,5 +0,0 @@
[Desktop Entry]
Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor
Exec=systemctl --user start --wait hyprland-session
Type=Application