Created
August 26, 2024 19:42
-
-
Save gjbianco/1e4469a3944fcfc3d9d973f6f01c234a to your computer and use it in GitHub Desktop.
background music script
This file contains hidden or 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/sh | |
synthwave='https://youtube.com/watch?v=4xDzrJKXOOY' | |
postrock='https://www.youtube.com/watch?v=MRhplCpkPKE' | |
[ "$1" == "s" ] && selected=$synthwave | |
[ "$1" == "r" ] && selected=$postrock | |
[ -z "$1" ] && selected=$synthwave | |
mpv --no-resume-playback $selected &>/dev/null & disown; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment