#!/bin/bash
xdotool search --class mpv | xargs -I % xdotool key --window % space &&
notify-send "MPV" "Pausing/Playing"