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

@ -606,7 +606,7 @@ stop_portwine () {
if [[ "$int_xneur" == "1" ]] ; then
xneur &
fi
if [[ "$PW_USE_US_LAYOUT" == "1" ]] ; then
if [[ "$PW_USE_US_LAYOUT" == "1" ]] [[ "${XDG_SESSION_TYPE}" != "wayland" ]] ; then
setxkbmap
fi
pw_stop_progress_bar