File: flags

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 (28 lines) | stat: -rwxr-xr-x 522 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
20
21
22
23
24
25
26
27
28
#! /bin/sh

. ./prelude

bspc monitor -a "test-sticky-a"
bspc monitor -a "test-sticky-b"

bspc desktop -f "test-sticky-a"

window add 3
bspc node -g sticky

sticky_node_id=$(bspc query -N -n)

bspc rule -a Test:test -o desktop="test-sticky-b"

window add

bspc desktop -f "test-sticky-b"

bspc query -N -d | grep "$sticky_node_id" > /dev/null || fail "Sticky node is missing in destination."

window remove 2
bspc desktop -f "test-sticky-a"
window remove 2

bspc desktop "test-sticky-a" -r
bspc desktop "test-sticky-b" -r