aboutsummaryrefslogtreecommitdiff
path: root/intclock.sh
blob: 76492ca1a5df94e1c694562f76b6c69075980387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

printf "🌐 UTC : "
date -u +%R

printf "🌎 EST : "
TZ='America/New_York' date +%R

printf "🌏 JST : "
TZ='Asia/Tokyo' date +%R
printf "\n"

cal

read # this line is only so that the script stays on until user input, 
     # my usage is to spawn it using `st intclock.sh` I had to find a way 
     # for the st window to stay on, delete it if you don't need it