small change

This commit is contained in:
speedie 2022-11-28 21:27:04 +01:00
parent c1e1a69b0a
commit 87bf784e9c

View file

@ -100,11 +100,7 @@ connectwifi() {
}
connect_no_pass() {
iwctl station $seldevice connect $network || exit 0
if [ -e "${BINDIR}notify-send" ]; then
notify-send " Connected to $network!"
fi
exit 0
iwctl station $seldevice connect $network && notify-send " Connected to $network!" || exit
}
fi