aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/sclip
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 11:03:43 -0200
commitd49abdf863b9ddc79a1eade3d8d512de469a23d2 (patch)
tree3f2bc6adfee49b7a97269f1da5e5681beb66ee86 /lib/keyringer/actions/sclip
parent3c23d9d24eb07c6faab184e3da30b2c7efe7028e (diff)
parent6c62a1906b59e4ab8eb3475ebfe3c3b7cfa67f0b (diff)
downloadkeyringer-d49abdf863b9ddc79a1eade3d8d512de469a23d2.tar.gz
keyringer-d49abdf863b9ddc79a1eade3d8d512de469a23d2.tar.bz2
Merge tag 'upstream_keyringer_0.5.2' into debian
Upstream version 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