summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2024-02-05 09:25:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2024-02-05 09:25:14 +0100
commite5285594ae0d03417310eeaa5198a12d9906cee7 (patch)
tree94783b2d85cdcfec48ea0e9f92fc6884178e5f16
parent18a6a0f7ed57459aa54d4294aa2a62d7ffac77a5 (diff)
downloadbin-e5285594ae0d03417310eeaa5198a12d9906cee7.zip
bin-e5285594ae0d03417310eeaa5198a12d9906cee7.tar.gz
add recwin
-rwxr-xr-xrecwin6
1 files changed, 6 insertions, 0 deletions
diff --git a/recwin b/recwin
new file mode 100755
index 0000000..9ca2500
--- /dev/null
+++ b/recwin
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+echo "CLICK ON THE WINDOW"
+WINID=$(xwininfo | sed -n "s/.*Window id: \(.*\) .*$/\1/p")
+
+recordmydesktop --windowid=$WINID