@@ -1,4 +1,5 @@
#!/bin/bash
choice=$(printf "on\noff" | dmenu -i -p "Wifi $(nmcli r w)")
[ -z "$choice" ] && exit 0
stat=`nmcli r w`
choice=`printf "on\noff" | dmenu -i -p "Wifi $stat"`
if [ -z "$choice" ]; then exit;fi
nmcli r w $choice
The note is not visible to the blocked user.