Binds a key to toggle pause (default keybinding: \), the most useful use case with this script is when you want to lock your computer and you want to pause all instances of mpv with a script, since you can only toggle pause and/or only pause video instead of audio only instances.
cp pause_toggle.sh ~/.config/mpv/scripts
cp pause_toggle.conf ~/.config/mpv/scripts-opts