sway/bashrc: Disable MIT-SHM extension for Xwayland
MIT-SHM does not work well inside containers like systemd-nspawn
This commit is contained in:
parent
0d9d4b363e
commit
c64e51a244
|
@ -122,4 +122,5 @@ export GTK_THEME=Gruvbox-Material-Dark-HIDPI
|
||||||
export GTK_IM_MODULE=fcitx
|
export GTK_IM_MODULE=fcitx
|
||||||
export QT_IM_MODULE=fcitx
|
export QT_IM_MODULE=fcitx
|
||||||
export SDL_IM_MODULE=fcitx
|
export SDL_IM_MODULE=fcitx
|
||||||
|
export WLR_XWAYLAND=$HOME/.local/bin/Xwayland-noshm
|
||||||
$MACHINE_START_SWAY && [[ -z "$DISPLAY" && $(tty) == /dev/tty1 ]] && exec sway
|
$MACHINE_START_SWAY && [[ -z "$DISPLAY" && $(tty) == /dev/tty1 ]] && exec sway
|
||||||
|
|
3
sway/.local/bin/Xwayland-noshm
Executable file
3
sway/.local/bin/Xwayland-noshm
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
exec /usr/bin/Xwayland -extension MIT-SHM $@
|
Loading…
Reference in a new issue