aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-all-x11.sh7
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