diff --git a/src/speedwm-netctrl b/src/speedwm-netctrl index bab4602..97aaa79 100755 --- a/src/speedwm-netctrl +++ b/src/speedwm-netctrl @@ -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