clean 🫠

This commit is contained in:
Luca 2023-02-05 03:06:17 +01:00
parent d3435e53a4
commit d16174b447
9565 changed files with 0 additions and 1315422 deletions

View file

@ -1,18 +0,0 @@
#!/bin/sh
# Sending Notification With dunst :
notify-send "listing available Wi-Fi networks..."
status=$(nmcli -fields WIFI g)
if [[ "$status" =~ "enabled" ]]; then
toggle="睊 Disable Wi-Fi"
elif [[ "$status" =~ "disabled" ]]; then
toggle="直 Enable Wi-Fi"
fi
bssid=$(nmcli device wifi list | sed -n '1!p' | cut -b 9- | sed -E "s/WPA*.?\S/ /g" | sed "s/^--/ /g" | sed "s/ //g" | sed "/--/d"| dmenu -i -l 20 -h 25 -p "Select Wifi 直:" | cut -d' ' -f1)
pass=$(echo"" | dmenu -l 20 -h 30 -i -p "Enter the password :")
nmcli device wifi connect $bssid password $pass