diff options
author | toni <matzeton@googlemail.com> | 2016-03-14 16:49:06 +0100 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2016-03-14 16:49:06 +0100 |
commit | 2ac30fb459343323bdf58f3ebb05948a401b0b7c (patch) | |
tree | 40df764d90877fd00bd80708c8b7e454c707aa8b /run-all-x11.sh | |
parent | e833f64fa6b97c762e38a969d0e6d6091a8cbe19 (diff) |
auto type text in specified x11 windows
Diffstat (limited to 'run-all-x11.sh')
-rwxr-xr-x | run-all-x11.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/run-all-x11.sh b/run-all-x11.sh new file mode 100755 index 0000000..b91936c --- /dev/null +++ b/run-all-x11.sh @@ -0,0 +1,7 @@ +#!/bin/bash + + +for wid in $(xdotool search --onlyvisible --sync --all --class X-terminal-emulator) + do xdotool type --window $wid "$*" + xdotool key --window $wid KP_Enter +done |