Files
illogical-impulse/early/.config/eww/scripts/isopen.sh
T
2024-02-22 15:35:06 +07:00

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