aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/hyprland-session.service1
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