Wireless works with any interface name and better multi-monitor support

This commit is contained in:
Dawid Potocki
2019-01-20 21:46:03 +13:00
parent 7ca56f19fd
commit ad04e59566
2 changed files with 5 additions and 8 deletions

View File

@@ -1422,7 +1422,7 @@ label-disconnected-foreground = ${colors.foreground}
[module/wireless-network]
;https://github.com/jaagr/polybar/wiki/Module:-network
type = internal/network
interface = wlp3s0
interface = ${env:WIRELESS}
interval = 3.0
label-connected = %essid%
@@ -1520,3 +1520,4 @@ format-foreground = ${colors.foreground}
format-background = ${colors.background}
###############################################################################
# vim:ft=dosini