From: Silvio Rhatto Date: Sat, 19 Aug 2017 12:06:42 +0000 (-0300) Subject: Give delay on xdotool at sclip X-Git-Tag: 0.5.2~14 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=610db184b851c21f69db412ce6d1870e0b438789;p=keyringer.git Give delay on xdotool at sclip --- diff --git a/lib/keyringer/actions/sclip b/lib/keyringer/actions/sclip index 156762a..de9c3b5 100755 --- a/lib/keyringer/actions/sclip +++ b/lib/keyringer/actions/sclip @@ -13,12 +13,14 @@ keyringer $KEYRING xclip $* # Se window switch combo if [ -z "$XDOTOOL_NEXT_WINDOW" ]; then - XDOTOOL_NEXT_WINDOW="alt+Tab" + XDOTOOL_NEXT_WINDOW="Alt_L+Tab" fi # Move to the next window if which xdotool &> /dev/null; then - xdotool key $XDOTOOL_NEXT_WINDOW + # Use a smaller delay otherwise the window + # manager might ignore the key combo + xdotool key --delay 2 $XDOTOOL_NEXT_WINDOW fi # Sleep