1 2 3
#!/bin/sh pgrep -x bspwm >/dev/null && bspc rule -a mpv --one-shot state=floating nohup mpv --loop-playlist --geometry=-10-10 --autofit=40% "$@" >/dev/null &