1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

feat: 256color + countdown + pdf-ocr.sh

This commit is contained in:
2021-05-02 18:56:38 +02:00
parent 4f962778b7
commit 3a21680812
3 changed files with 74 additions and 0 deletions

13
.bin/countdown Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env -S awk -f
function z() {
getline < "/proc/uptime"
close("/proc/uptime")
return $0
}
BEGIN {
x = z()
while (1) {
y = z()
printf "%02d:%05.2f\r", (y - x) / 60, (y - x) % 60
}
}