diff options
Diffstat (limited to 'tw')
-rwxr-xr-x | tw/services/files/passmenu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tw/services/files/passmenu b/tw/services/files/passmenu index a95fcc7a..2600e222 100755 --- a/tw/services/files/passmenu +++ b/tw/services/files/passmenu @@ -44,7 +44,7 @@ extract_key() { } type_stdin() { - tr -d '\n' | if [ -n "$WAYLAND_DISPLAY" ]; then + tr -d '\n' | if [ -n "${WAYLAND_DISPLAY+x}" ]; then wtype -s 50 - else xdotool getactivewindow type --clearmodifiers --file - @@ -86,7 +86,7 @@ case "$mode" in entry=$(pass show "$password_name") if [ "$mode" = type-all ]; then echo "$entry" | extract_key username | type_stdin - if [ -n "$WAYLAND_DISPLAY" ]; then + if [ -n "${WAYLAND_DISPLAY+x}" ]; then wtype -s 50 -k Tab else xdotool getactivewindow key Tab |