From 880a35bbb1ad613255a38a228ba53a7820e11846 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 27 Oct 2016 16:20:51 -0200 Subject: Switch windows at sclip --- lib/keyringer/actions/sclip | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3