1 2 3 4 5 6 7
#!/bin/sh pgrep -x bspwm >/dev/null && bspc rule -a URxvt --one-shot state=floating width="$1" height="$2" shift 2 urxvt -geometry "${width}x${height}-10-10" -e "$@"