summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-10-27 16:20:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-10-27 16:20:51 -0200
commit880a35bbb1ad613255a38a228ba53a7820e11846 (patch)
treee4ec98b984882b17574169d7a01223ac87108b37 /lib
parent18d90207bf78a8763f112ab7da9d560f0454a8a6 (diff)
downloadkeyringer-880a35bbb1ad613255a38a228ba53a7820e11846.tar.gz
keyringer-880a35bbb1ad613255a38a228ba53a7820e11846.tar.bz2
Switch windows at sclip
Diffstat (limited to 'lib')
-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