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