mirror of https://github.com/fairyglade/ly.git
setup.sh: Unset display for normal WM
The wlroot refused to create X11 backend when DISPLAY is set. This makes most of the wlroot-based WM exit since they cannot create backend. Therefore, we unset DISPLAY in setup.sh to allow normal x11/wayland wm to start. See: https://github.com/swaywm/wlroots/issues/1930
This commit is contained in:
parent
c0c400e0b6
commit
c0ffcf22ac
|
|
@ -104,4 +104,5 @@ if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
|||
[ -f "$XDG_CONFIG_HOME"/X11/Xresources ] && xrdb -merge "$XDG_CONFIG_HOME"/X11/Xresources
|
||||
fi
|
||||
|
||||
unset DISPLAY
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Reference in New Issue