Remove the homegrown WiFi wizard script since I use nmtui

This commit is contained in:
Ohad Livne 2025-07-11 00:21:01 +03:00
parent 6d795095eb
commit a708ddc38e
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 0 additions and 18 deletions

View file

@ -77,9 +77,6 @@ input type:touchpad {
bindsym $launch+f exec firefox --private-window
bindsym $launch+Shift+f exec firefox
# Switch WiFi network
bindsym $launch+Equal exec .wifi-wizard
# Kill focused window
bindsym $wm_mod+q kill

View file

@ -1,15 +0,0 @@
#! /usr/bin/sh
ssid=$(nmcli --fields SSID,RATE,SIGNAL,BARS device wifi list | fuzzel --dmenu --width 40 | awk '{print $1}')
retval=$?
if [ -z "${ssid}" ]; then
exit $retval
fi
password=$(fuzzel --dmenu --password)
retval=$?
if [ $retval -ne 0 ]; then
exit $retval
fi
nmcli device wifi connect "${ssid}" password "${password}"