summary refs log tree commit diff
path: root/home/.local
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhome/.local/bin/clock8
1 files changed, 8 insertions, 0 deletions
diff --git a/home/.local/bin/clock b/home/.local/bin/clock
new file mode 100755
index 00000000..4f5c8561
--- /dev/null
+++ b/home/.local/bin/clock
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -eu
+
+tput civis
+while :; do
+	printf '%3s%% %s' "$(apm -l)" "$(date +'%a %H:%M')"
+	sleep 10
+done