Last active
May 8, 2022 15:03
-
-
Save alejack9/fd0857117e35933183851794bd003f5b to your computer and use it in GitHub Desktop.
Plays "default.mp3" or a specified file after the specified time. Usage: ./wake_me_in.sh "5m 3s" my_awesome_alarm.mp3
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
sleep $1 ; mpv ${2:-default.mp3} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment