rice/wed
2019-05-15 01:51:58 -07:00

5 lines
119 B
Bash
Executable File

#!/bin/bash
choice=$(printf "on\noff" | dmenu -i -p "Wifi $(nmcli r w)")
[ -z "$choice" ] && exit 0
nmcli r w $choice