From fb33ed3e6f9afce7dc2308c0580b13a569372a3c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 30 Mar 2024 20:53:48 -0400 Subject: Gentoo update status script --- .local/bin/updatestatus | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .local/bin/updatestatus 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 -- cgit v1.2.3