dotfiles/tmux/clocks.sh
Bill Niblock 2652ddcb9f Update configurations
- Modified a few settings in Tmux
- Changed how the clocks look on the status bar

- Removed Vundle, using vim-plug instead
- Moved all plug-in related configuration to vimrc.bundles
2015-11-22 21:14:11 -05:00

16 lines
464 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 +%R)"
utcTime="$(date -u +%R)"
bangTime="$(TZ=Asia/Kolkata date +%R)"
caliForm="#[fg=red]<][ $caliTime ] "
buffForm="#[fg=green]<][ $buffTime ][> "
utcForm="#[fg=blue][ $utcTime ][> "
bangForm="#[fg=magenta][ $bangTime ][>>"
echo $caliForm$buffForm$utcForm$bangForm" "