@@ -0,0 +1,9 @@
#!/bin/bash
if rfkill list wifi | grep -q 'yes$' ; then
doas rfkill unblock wifi
notify-send "wifi on" -r 1
else
doas rfkill block wifi
notify-send "wifi off" -r 1
fi
The note is not visible to the blocked user.