diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 39c4bbd6..ced0f0cd 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -606,7 +606,7 @@ stop_portwine () { if [[ "$int_xneur" == "1" ]] ; then xneur & fi - if [[ "$PW_USE_US_LAYOUT" == "1" ]] [[ "${XDG_SESSION_TYPE}" != "wayland" ]] ; then + if [[ "$PW_USE_US_LAYOUT" == "1" ]] && [[ "${XDG_SESSION_TYPE}" != "wayland" ]] ; then setxkbmap fi pw_stop_progress_bar @@ -1112,3 +1112,4 @@ pw_find_exe () { exit 0 fi } +wa