Disable PW_USE_US_LAYOUT for wayland session

This commit is contained in:
Boria138
2023-09-23 11:43:13 +06:00
parent 146eacb223
commit 2aa3a76c1f
3 changed files with 5 additions and 5 deletions

View File

@ -323,7 +323,7 @@ start_portwine () {
unset PULSE_LATENCY_MSEC
fi
if [[ "${PW_USE_US_LAYOUT}" == "1" ]] ; then
if [[ "${PW_USE_US_LAYOUT}" == "1" ]] && [[ "${XDG_SESSION_TYPE}" != "wayland" ]] ; then
setxkbmap -model pc101 us -print | xkbcomp - $DISPLAY
fi