diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-12-21 10:19:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-12-21 10:19:25 -0200 |
commit | e597eb9acfab30157abefe6317387f6297d3e869 (patch) | |
tree | 2bc0beb9fb4d903a8f80d3cdef98af2b51443ae2 /lib/keyringer/actions/sclip | |
parent | e8b1c968d9f1ddd2b10b7a6e584b0f1329debea9 (diff) | |
parent | ea9326628e6e872798a96063fccd76d964a75583 (diff) | |
download | keyringer-e597eb9acfab30157abefe6317387f6297d3e869.tar.gz keyringer-e597eb9acfab30157abefe6317387f6297d3e869.tar.bz2 |
Merge branch 'develop'
Diffstat (limited to 'lib/keyringer/actions/sclip')
-rwxr-xr-x | lib/keyringer/actions/sclip | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/keyringer/actions/sclip b/lib/keyringer/actions/sclip index e4c88fa..6016f2b 100755 --- a/lib/keyringer/actions/sclip +++ b/lib/keyringer/actions/sclip @@ -11,13 +11,18 @@ source "$LIB" || exit 1 shift keyringer $KEYRING xclip $* +# Se window switch combo +if [ -z "$XDOTOOL_NEXT_WINDOW" ]; then + XDOTOOL_NEXT_WINDOW="alt+Tab" +fi + # Move to the next window if which xdotool &> /dev/null; then - xdotool key alt+Tab + xdotool key $XDOTOOL_NEXT_WINDOW fi # Sleep sleep 5 # Overwrite clipboard -cat $RANDOM | sha256sum | base64 -d | xclip +echo $RANDOM | sha256sum | base64 | xclip |