Endwall
06/17/2018 (Sun) 00:42:30
[Preview]
No. 28
del
DATELOOP
dateloop.sh
DATELOOP: a terminal clock with positioning for use in tmux.
USAGE: dateloop --option --option
dateloop --help # print usage information
dateloop --version # print version information
dateloop # standard left justified clock
dateloop --right # right justified clock
dateloop --mid # center justified clock
dateloop --left # standard left justified clock
dateloop --update 2 # time update is 2 seconds
dateloop --buffer 5 # Line buffer is 5 lines
dateloop --update 2 --buffer 5 --mid # place in middle 2 seconds 5 lines
uses the date command to make a terminal clock. I use this in tmux to put a clock in the middle of the top of the screen by making a window with CNRTL+b ; : ; split-window -l 60 , then I call
$ dateloop --mid --update 5.
I know there is a clock in the bottom right hand corner on the green bar, I just like a clock in the middle at the top. Usually when I'm in tmux with no Xorg on a server somewhere.
https://raw.githubusercontent.com/endwall2/endware/master/dateloop.sh
Available in the usual places.