[module/wlan]
type = custom/script
exec=$HOME/.config/polybar/scripts/wifi.sh
format-foreground = ${colors.background}
format-background = ${colors.yellow}
format-font = 2
format-padding = 2
interval = 5

[module/wlanstrength]
type = custom/script
exec=$HOME/.config/polybar/scripts/wifistrength.sh
format-foreground = ${colors.green}
format-background = ${colors.background}
format-font = 2
click-left = $HOME/.config/polybar/scripts/wifi_toggle.sh
click-right = gnome-control-center wifi

[module/networkactivity]
type = custom/script
exec = $HOME/.config/polybar/scripts/network_speed.sh
format-foreground = ${colors.yellow}

[module/eth]
type = internal/network
interface = eno1
interval = 3.0
format-connected = <label-connected>
label-connected = "%{F#FFAB40}  %{T2}%ifname%: %local_ip% "
format-connected-font = 1

format-disconnected = <label-disconnected>
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = "%{F#FFAB40}  %{T2}%ifname%: disconnected "
format-disconnected-font = 1
