diff options
author | Adam Stück <adam@adast.dk> | 2024-08-28 08:59:51 +0200 |
---|---|---|
committer | Adam Stück <adam@adast.dk> | 2024-08-28 08:59:51 +0200 |
commit | 0a3124ca11d7e5e43aebd60d9ae2b4ce94c4e3fe (patch) | |
tree | 9eec1d8a4faa1c34110f63f6f197662eb328f9d6 /.local/bin/clock | |
parent | 42af051a2339acdc893d11014b0543aabf4c08da (diff) |
scripts: add clocklaptop
Diffstat (limited to '.local/bin/clock')
-rwxr-xr-x | .local/bin/clock | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/clock b/.local/bin/clock new file mode 100755 index 0000000..df250b8 --- /dev/null +++ b/.local/bin/clock @@ -0,0 +1,10 @@ +#!/bin/bash + +# Display a clock in the terminal with hours, minutes, seconds and +# milliseconds + +while : +do + echo -ne "$(date +%T.%3N)\r" + sleep .001 +done |