aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/sclip
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:39 -0200
commit6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b (patch)
treeee989361e1451ed2980270d8fb70c0ed4bd3dda7 /lib/keyringer/actions/sclip
parent5f0fb30328d9b37ee53aafd65690a1ee90ea6799 (diff)
parent7fca7cd0433e6f97080ecf12bee64ec4f38948ba (diff)
downloadkeyringer-6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b.tar.gz
keyringer-6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b.tar.bz2
New upstream version 0.5.2upstream_keyringer_0.5.2
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