Closed
Description
#!/bin/bash
SSID="$(termux-wifi-connectioninfo | jq -r .ssid)"
if [ $SSID = "blahblah"]; then
termux-toast Pihole disabled successfully.
else
termux-toast Not connected to home WiFi.
fi
I use toasts to get the results of my script, but termux-widget does a "Task executed: NAME-OF-SCRIPT.sh" toast first and I have to wait for that to disappear before seeing the results. Super minor issue but I'd love for it to be a hair faster and be able to disable that initial toast.
Metadata
Assignees
Labels
No labels
Activity