aboutsummaryrefslogtreecommitdiff
path: root/floats/urxvtFloat.sh
blob: a6bc8513c381addcb1f37534b9ef8a976d7c14e8 (plain)
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 "$@"