6 lines
135 B
Bash
Executable File
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
|