rice/wed
2019-07-05 12:57:15 -07:00

6 lines
135 B
Bash
Executable File

#!/bin/bash
stat=`nmcli r w`
choice=`printf "on\noff" | dmenu -i -p "Wifi $stat"`
if [ -z "$choice" ]; then exit;fi
nmcli r w $choice