aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-07-15 15:49:21 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-07-15 15:54:50 +0300
commitbc0a06226a03768519790917ff310df0e01de705 (patch)
treed5e5fac82d1d88e0e9e8eb05c5b47c81ba18721f
parented799f5afcf6a3dc805def75d0824ecc24de4f32 (diff)
downloadniri-bc0a06226a03768519790917ff310df0e01de705.tar.gz
niri-bc0a06226a03768519790917ff310df0e01de705.tar.bz2
niri-bc0a06226a03768519790917ff310df0e01de705.zip
niri-session: Also unset DISPLAY
We set it now for xwayland-satellite integration.
-rwxr-xr-xresources/niri-session2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/niri-session b/resources/niri-session
index ff9a5c6f..49dc4c94 100755
--- a/resources/niri-session
+++ b/resources/niri-session
@@ -50,7 +50,7 @@ if hash systemctl >/dev/null 2>&1; then
systemctl --user start --job-mode=replace-irreversibly niri-shutdown.target
# Unset environment that we've set.
- systemctl --user unset-environment WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP NIRI_SOCKET
+ systemctl --user unset-environment WAYLAND_DISPLAY DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP NIRI_SOCKET
elif hash dinitctl >/dev/null 2>&1; then
# Check that the user dinit daemon is running
if ! pgrep -u "$(id -u)" dinit >/dev/null 2>&1; then