summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/updatestatus14
1 files changed, 14 insertions, 0 deletions
diff --git a/.local/bin/updatestatus b/.local/bin/updatestatus
new file mode 100755
index 0000000..aedbb84
--- /dev/null
+++ b/.local/bin/updatestatus
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+time="$($1)"
+[ -z "$1" ] && time="5"
+
+# Prevent "no such file or directory" on 1st run
+genlop -c >/tmp/genlop
+
+while true; do
+ cat /tmp/genlop
+ sleep "$time"
+ genlop -c >/tmp/genlop
+ clear
+done