aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-05-09 09:35:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-05-09 09:35:55 -0300
commita81d8fc23cd76216604b6f0a86ff7ae40a84de85 (patch)
treea03ab88316f5a9d7e2d2de400947e7ffc7c7dd58
parent0f5a56a4650ed25accbafadb37b52e8a5713b0c5 (diff)
downloadutils-x11-a81d8fc23cd76216604b6f0a86ff7ae40a84de85.tar.gz
utils-x11-a81d8fc23cd76216604b6f0a86ff7ae40a84de85.tar.bz2
Adds blanknot
-rwxr-xr-xblanknot12
1 files changed, 12 insertions, 0 deletions
diff --git a/blanknot b/blanknot
new file mode 100755
index 0000000..84872e8
--- /dev/null
+++ b/blanknot
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# Do not let the screen to be blank.
+# Useful while watching or contemplating something.
+#
+
+# Parameters
+INTERVAL="10"
+
+echo "Will virtually press the Ctrl key every $INTERVAL seconds."
+echo "Press Ctrl-C to exit."
+while true; do xdotool key ctrl; echo -n '.'; sleep $INTERVAL; done