summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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