From: Silvio Rhatto Date: Thu, 27 Oct 2016 18:20:51 +0000 (-0200) Subject: Switch windows at sclip X-Git-Tag: 0.4.0~1 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=880a35bbb1ad613255a38a228ba53a7820e11846;p=keyringer.git Switch windows at sclip --- 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