8 lines
176 B
Plaintext
8 lines
176 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
swaymsg -t subscribe -m '[ "workspace" ]' | jq --unbuffered '.current.num' | while read -r;do
|
||
|
if [ "$REPLY" != "null" ];then
|
||
|
echo "$REPLY"
|
||
|
fi
|
||
|
done
|