dotfiles/tmux/clocks.sh
Bill Nibz 9aa4f84cbe tmux: Clean-up
- Update readme
- Remove unnecessary Ruby script
- Update clocks.sh to be a bit slimmer
- Update tmux.conf with comments
- Reformate/clean-up tmux.conf
2017-08-15 22:31:58 -04:00

11 lines
346 B
Bash
Executable file

#!/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)"
buffTime="$(TZ=America/New_York date +'%b %d %R')"
utcTime="$(date -u +%R)"
bangTime="$(TZ=Asia/Kolkata date +%R)"
echo "<][ $caliTime ] <][ $buffTime ][> [ $utcTime ][> [ $bangTime ][>> "