/i3blocks-go-network

Display network status without IP address, allows customizable icons and colors for command output

Primary LanguageGo

i3blocks-go-network

Displays the current status of a network interfaced based on whether it has an assigned IP address or not.

Usage

To use download the script and see the sample i3blocks.conf file to make your own.

Permitted args:

The following arguments are permitted(* = required)

  • if(*): Specify the interface name to be used (Must be exact match)
  • up_icon: Specify the icon to be returned if the interface is up (Default: +)
  • down_icon: Specify the icon to be returned if the interface is down (Default: -)
  • up_color: Specify the color to be returned if the interface is up (Default: #00FF00)
  • down_color: Specify the color to be returned if the interface is down (Default: #FF0000)