16 lines
No EOL
273 B
Bash
Executable file
16 lines
No EOL
273 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SCRIPTDIR="$(dirname "$(realpath "$0")")"
|
|
|
|
while true; do
|
|
rm -r ~/.copilot
|
|
|
|
hyprctl activewindow|grep Waydroid >> /dev/null
|
|
if [ $? -eq 0 ]; then
|
|
"$SCRIPTDIR/waydroid-root.sh" openfiles
|
|
else
|
|
"$SCRIPTDIR/waydroid-root.sh" securefiles
|
|
fi
|
|
|
|
sleep 3;
|
|
done |