fix: polybar network interfaces

This commit is contained in:
Tobias Reisinger 2020-02-14 14:28:13 +01:00
parent 6b478fc7b7
commit d1be81cbb0

View file

@ -53,7 +53,7 @@
scroll-down = bspwm-deskprev scroll-down = bspwm-deskprev
cursor-click = pointer cursor-click = pointer
cursor-scroll = normal cursor-scroll = pointer
[bar/portalo-base] [bar/portalo-base]
@ -63,6 +63,8 @@
modules-center = mpd modules-center = mpd
modules-right = pulseaudio memory cpu eth temperature date powermenu modules-right = pulseaudio memory cpu eth temperature date powermenu
eth-interface = enp0s31f6
[bar/portalo-primary] [bar/portalo-primary]
inherit = bar/portalo-base inherit = bar/portalo-base
@ -84,6 +86,8 @@
modules-center = modules-center =
modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth date powermenu modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth date powermenu
eth-interface = enp2s0f1
wlan-interface = wlp3s0
[module/xwindow] [module/xwindow]
@ -248,7 +252,7 @@
[module/wlan] [module/wlan]
type = internal/network type = internal/network
interface = wlp3s0 interface = ${root.wlan-interface}
interval = 3.0 interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
@ -270,7 +274,7 @@
[module/eth] [module/eth]
type = internal/network type = internal/network
interface = enp0s31f6 interface = ${root.eth-interface}
interval = 3.0 interval = 3.0
format-connected-underline = #55aa55 format-connected-underline = #55aa55
@ -360,8 +364,7 @@
type = internal/battery type = internal/battery
battery = BAT0 battery = BAT0
adapter = ADP1 adapter = ADP1
; TODO make per device configurable full-at = 100
full-at = 76
format-charging = <animation-charging> <label-charging> format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a format-charging-underline = #ffb52a