zbaylin / rofi-wifi-menu

a bash script using nmcli and rofi to make a wifi menu in i3/openbox/bspwm
410 stars 35 forks source link

Add set -euo pipefail to the top of the script #27

Open saolof opened 1 year ago

saolof commented 1 year ago

This fixes a few user experience issues I encountered when first using the script, by making the script fail immediately on things like pressing esc in rofi instead of making nmcli throw an error or do the wrong thing on empty input