Display network name in xmobar

xmonad

I was wondering if there is a way to display the currently connected WiFi and/or ethernet network name in xmobar.

Best Answer

You probably want the Wireless plugin which comes with xmobar

http://projects.haskell.org/xmobar/#wireless-interface-args-refreshrate

In your config file, you'd have something like this in the commands list:

Run Wireless "wlan0" [ "-t", "<essid>" ] 10
Related Question