diff options
author | izmyname <[email protected]> | 2024-10-24 19:50:53 +0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-24 17:50:53 +0300 |
commit | 3cec45d82113051d35e846e5d80719d8ea0f7002 (patch) | |
tree | f2d0afea30266975a4774a308c2375089bacfd47 | |
parent | 7f46680ab16e8f67000a09d20fc7ba41e211f3ef (diff) | |
download | Hyprland-3cec45d82113051d35e846e5d80719d8ea0f7002.tar.gz Hyprland-3cec45d82113051d35e846e5d80719d8ea0f7002.zip |
Improve hyprland-session.service (#8225)
-rw-r--r-- | example/hyprland-session.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/hyprland-session.service b/example/hyprland-session.service index 7d33f5b3..b6f0b55b 100644 --- a/example/hyprland-session.service +++ b/example/hyprland-session.service @@ -10,5 +10,6 @@ After=graphical-session-pre.target 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 |