Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Seconds left bash script
# This is a simple bash script displays a countdown to a specific time in the menu bar (combined with an app like bit bar)
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
You can’t perform that action at this time.