ttimebar - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       ttimebar (267B)
       ---
            1 #!/bin/sh
            2 
            3 ROOT=$(lsw -r)
            4 SW=$(wattr w $ROOT)
            5 SH=$(wattr h $ROOT)
            6 
            7 W=64
            8 H=32
            9 X=$((SW - W))
           10 Y=$((SH - H))
           11 
           12 font='-*-profont-medium-*-*--12-*-*-*-*-*-*-1'
           13 
           14 while :; do
           15     date "+%{c}%T"
           16     sleep 1
           17 done | bar -d -g ${W}x${H}+$X+$Y -f "$font" -B\#ff261616 -F\#ff888888