aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/sclip
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:55:26 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:55:26 -0200
commitb6dec4f1efe948f01df02b364cbb7f7aeedaa2b1 (patch)
tree0a51277f829b08b792204c8b4fe06c33bff4591a /lib/keyringer/actions/sclip
parent374887922e7018e6b0c8e3d2ba8f52d4386ec682 (diff)
parent7fca7cd0433e6f97080ecf12bee64ec4f38948ba (diff)
downloadkeyringer-b6dec4f1efe948f01df02b364cbb7f7aeedaa2b1.tar.gz
keyringer-b6dec4f1efe948f01df02b364cbb7f7aeedaa2b1.tar.bz2
Merge branch 'develop'
Diffstat (limited to 'lib/keyringer/actions/sclip')
-rwxr-xr-xlib/keyringer/actions/sclip6
1 files changed, 4 insertions, 2 deletions
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