diff options
author | terminaldweller <thabogre@gmail.com> | 2023-03-10 10:53:48 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-03-10 10:53:48 +0000 |
commit | e9a4f9e81a55e8ba5264e6b2b524dc74bf4ec8e8 (patch) | |
tree | d4c7a67e38e4fa2e3a3aba26df1d82e97f1d319d /tmux/date.sh | |
parent | update (diff) | |
download | scripts-e9a4f9e81a55e8ba5264e6b2b524dc74bf4ec8e8.tar.gz scripts-e9a4f9e81a55e8ba5264e6b2b524dc74bf4ec8e8.zip |
updates
Diffstat (limited to '')
-rwxr-xr-x | tmux/date.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux/date.sh b/tmux/date.sh index ce6e0eb..9667fdd 100755 --- a/tmux/date.sh +++ b/tmux/date.sh @@ -38,7 +38,7 @@ RESULT=$(date +"%a %D %H:%M") DAY="#[fg=colour255 bg=colour31]"$(echo "$RESULT" | gawk '{print $1}') DATE="#[fg=colour255 bg=colour31]"$(echo "$RESULT" | gawk '{print $2}') TIME="#[fg=colour255 bg=colour31]"$(echo "$RESULT" | gawk '{print $3}') -INTERNET_TIME_RESULT=$(date -u +"%T" -d @$(curl -s --connect-timeout 10 --socks5-hostname localhost:9054 --user-agent "$(get_random_ua.sh)" http://worldtimeapi.org/api/timezone/Europe/London.json | jq '.unixtime')) +# INTERNET_TIME_RESULT=$(date -u +"%T" -d @$(curl -s --connect-timeout 10 --socks5-hostname localhost:9054 --user-agent "$(get_random_ua.sh)" http://worldtimeapi.org/api/timezone/Europe/London.json | jq '.unixtime')) # UTC_TIME_RESULT=$(date -u +"%H:%M") # UTC_TIME="#[fg=colour255 bg=colour25]"${INTERNET_TIME_RESULT} UTC_TIME="#[fg=colour255 bg=colour25]"$(internet_time_cache) |