Created
October 31, 2018 21:02
-
-
Save jakevossen5/8719e3ee9beb2b1a9c336a38be9ad348 to your computer and use it in GitHub Desktop.
Seconds left bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a simple bash script displays a countdown to a specific time in the menu bar (combined with an app like bit bar) | |
END=1683612000 | |
CUR=$(date +%s) | |
num=$(echo $END - $CUR | bc) | |
echo $num |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment