Polybar: Add WLAN module for desktop
This commit is contained in:
parent
c0129ab7df
commit
d50748bb31
@ -65,7 +65,7 @@ inherit = template/bar
|
||||
border-bottom-size = ${res/config.border-size}
|
||||
modules-left = i3 bspwm
|
||||
modules-center = xwindow
|
||||
modules-right = fshome | wlan
|
||||
modules-right = fshome | wlan-laptop wlan-desktop
|
||||
|
||||
[bar/primary-2]
|
||||
monitor = ${env:PB_MONITOR:eDP-1}
|
||||
@ -240,7 +240,7 @@ bar-volume-empty = ${res/config.bar-empty}
|
||||
bar-volume-empty-foreground = ${res/colors.gray}
|
||||
bar-volume-indicator = ${res/config.bar-indicator}
|
||||
|
||||
[module/wlan]
|
||||
[module/wlan-laptop]
|
||||
type = internal/network
|
||||
interface = wlp1s0
|
||||
format-connected-prefix = "WLAN: "
|
||||
@ -250,6 +250,16 @@ format-disconnected-prefix-foreground = ${res/colors.green}
|
||||
label-connected = %essid%
|
||||
label-disconnected = Disconnected
|
||||
|
||||
[module/wlan-desktop]
|
||||
type = internal/network
|
||||
interface = wlp5s0
|
||||
format-connected-prefix = "WLAN: "
|
||||
format-connected-prefix-foreground = ${res/colors.green}
|
||||
format-disconnected-prefix = "WLAN: "
|
||||
format-disconnected-prefix-foreground = ${res/colors.green}
|
||||
label-connected = %essid%
|
||||
label-disconnected = Disconnected
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title%
|
||||
|
Loading…
Reference in New Issue
Block a user