window-manager/scripts/filed.sh
2026-05-17 02:58:03 +02:00

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