forked from Shinonome/dots-hyprland
12 lines
152 B
Bash
Executable File
12 lines
152 B
Bash
Executable File
#!/bin/sh
|
|
|
|
getopen(){
|
|
ans=$(eww windows | grep -e "$1")
|
|
if [ "${ans:0:1}" == "*" ]; then
|
|
echo "true"
|
|
else
|
|
echo "false"
|
|
fi
|
|
}
|
|
|
|
getopen $1 |