Polybar: Update WLAN and ETH modules, add them to bar
This commit is contained in:
parent
833636c0d2
commit
2a1a058d6b
@ -89,7 +89,7 @@ border-top-size = 0
|
|||||||
|
|
||||||
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory}
|
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory}
|
||||||
modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER:i3 bspwm}
|
modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER:i3 bspwm}
|
||||||
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor xbacklight volume date}
|
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor xbacklight volume wlan eth date}
|
||||||
|
|
||||||
[bar/primary-2]
|
[bar/primary-2]
|
||||||
monitor = ${env:PB_MONITOR:eDP-1}
|
monitor = ${env:PB_MONITOR:eDP-1}
|
||||||
@ -228,9 +228,8 @@ type = internal/network
|
|||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-connected-prefix = "ETH: "
|
format-connected-prefix = "ETH: "
|
||||||
format-connected-prefix-foreground = ${res/colors.mod-network}
|
format-connected-prefix-foreground = ${res/colors.mod-network}
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = ETH
|
||||||
format-disconnected-prefix = "ETH: "
|
format-disconnected-foreground = ${res/colors.foreground-dark}
|
||||||
format-disconnected-prefix-foreground = ${res/colors.mod-network}
|
|
||||||
interface = ${env:PB_MODULE_ETH_INTERFACE:enp0s31f6}
|
interface = ${env:PB_MODULE_ETH_INTERFACE:enp0s31f6}
|
||||||
|
|
||||||
label-connected = %local_ip%
|
label-connected = %local_ip%
|
||||||
@ -336,9 +335,8 @@ type = internal/network
|
|||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-connected-prefix = "WLAN: "
|
format-connected-prefix = "WLAN: "
|
||||||
format-connected-prefix-foreground = ${res/colors.mod-network}
|
format-connected-prefix-foreground = ${res/colors.mod-network}
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = WLAN
|
||||||
format-disconnected-prefix = "WLAN: "
|
format-disconnected-foreground = ${res/colors.foreground-dark}
|
||||||
format-disconnected-prefix-foreground = ${res/colors.mod-network}
|
|
||||||
interface = ${env:PB_MODULE_WLAN_INTERFACE:wlp1s0}
|
interface = ${env:PB_MODULE_WLAN_INTERFACE:wlp1s0}
|
||||||
|
|
||||||
label-connected = %local_ip%
|
label-connected = %local_ip%
|
||||||
|
Loading…
Reference in New Issue
Block a user