forge
Explore
Log in

Don't you dare go Hollow

niri-session: Also unset DISPLAY

Browse files at this commit

bc0a06226a03768519790917ff310df0e01de705Ivan MolodetskikhParent: ed799f5
We set it now for xwayland-satellite integration.
resources/niri-sessionmodified+1 -1
@@ -50,7 +50,7 @@ if hash systemctl >/dev/null 2>&1; then
50 systemctl --user start --job-mode=replace-irreversibly niri-shutdown.target50 systemctl --user start --job-mode=replace-irreversibly niri-shutdown.target
51 51
52 # Unset environment that we've set.52 # Unset environment that we've set.
53- systemctl --user unset-environment WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP NIRI_SOCKET53+ systemctl --user unset-environment WAYLAND_DISPLAY DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP NIRI_SOCKET
54 elif hash dinitctl >/dev/null 2>&1; then54 elif hash dinitctl >/dev/null 2>&1; then
55 # Check that the user dinit daemon is running55 # Check that the user dinit daemon is running
56 if ! pgrep -u "$(id -u)" dinit >/dev/null 2>&1; then56 if ! pgrep -u "$(id -u)" dinit >/dev/null 2>&1; then