bspwm/tests/node/removal
2015-12-22 19:25:45 +01:00

19 lines
300 B
Bash
Executable file

#! /bin/sh
. ./prelude
bspc monitor -a "test-removal"
bspc desktop -f "test-removal"
window add 3
next_focus=$(bspc query -N -n);
bspc node -f @/2/1
bspc node @/2 -k
[ "$(bspc query -N -n)" = "$next_focus" ] || fail "Invalid focus after removal."
window remove
bspc monitor -r "test-removal"