sb

shitty bar for dwm
git clone git://git.ckyln.com/~cem/sb.git
Log | Files | Refs | README | LICENSE

sb_ssid (155B)


      1 # reads ssid from iw
      2 
      3 ssid() {
      4     SSID="$(iw dev "${1:?}" info | grep ssid | cut -d ' ' -f2- )"
      5     [ "$SSID" ] && printf '%s %s ' "$SSID" "$DELIMITER"
      6 }