dotfiles/tmux/clocks.sh

12 lines
346 B
Bash
Raw Normal View History

#!/bin/sh
# Supply tmux with times for right-hand status bar
# Each variable encompasses a time and a color
caliTime="$(TZ=America/Los_Angeles date +%R)"
2016-04-28 17:49:53 +00:00
buffTime="$(TZ=America/New_York date +'%b %d %R')"
utcTime="$(date -u +%R)"
bangTime="$(TZ=Asia/Kolkata date +%R)"
echo "<][ $caliTime ] <][ $buffTime ][> [ $utcTime ][> [ $bangTime ][>> "