11 lines
193 B
Bash
Executable File
11 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Used to check whether the current focused
|
|
# window in BSPWM is using the monocle layout.
|
|
|
|
if [[ $(bspc query -T -d focused) == *"monocle"* ]]; then
|
|
echo 1
|
|
else
|
|
echo 0
|
|
fi
|