Polybar: Configure WLAN interface

This commit is contained in:
Salt 2018-07-31 20:29:11 -05:00
parent 70dc80b545
commit 54838d2374
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
#!/bin/bash
export PB_BAR_WIDTH=2548
export PB_WLAN_INTERFACE=wlp5s0

View File

@ -301,7 +301,7 @@ format-connected-prefix-foreground = ${res/colors.icon-wlan}
format-disconnected = <label-disconnected>
format-disconnected-prefix = "WLAN: "
format-disconnected-prefix-foreground = ${res/colors.icon-wlan}
interface = wlp1s0
interface = ${env:PB_WLAN_INTERFACE:wlp1s0}
label-connected = %essid%
label-disconnected = None