File: removal

package info (click to toggle)
bspwm 0.9.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: ansic: 11,968; sh: 336; makefile: 85; python: 38
file content (19 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /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 desktop "test-removal" -r