aboutsummaryrefslogtreecommitdiff
path: root/floats/mpvFloat.sh
blob: 7782c4a8b264ee811b40e7339cb8d4feac4c394e (plain)
1
2
3
#!/bin/sh
pgrep -x bspwm >/dev/null && bspc rule -a mpv --one-shot state=floating
nohup mpv --geometry=-20-20 --autofit=40% "$@" >/dev/null &