summaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/sclip
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyringer/actions/sclip')
-rwxr-xr-xlib/keyringer/actions/sclip5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/keyringer/actions/sclip b/lib/keyringer/actions/sclip
index 8f2debd..e4c88fa 100755
--- a/lib/keyringer/actions/sclip
+++ b/lib/keyringer/actions/sclip
@@ -11,6 +11,11 @@ source "$LIB" || exit 1
shift
keyringer $KEYRING xclip $*
+# Move to the next window
+if which xdotool &> /dev/null; then
+ xdotool key alt+Tab
+fi
+
# Sleep
sleep 5