Polybar: Add networking stats to desktop secondary bar

This commit is contained in:
Salt 2020-07-11 09:30:07 -05:00
parent d94b25e0d0
commit a12840336a

View File

@ -82,7 +82,7 @@ bottom = false
inherit = template/bar
border-bottom-size = ${res/config.border-size}
modules-left = i3 bspwm
modules-right = mpd | date
modules-right = wlan-desktop-stats mpd | date
## MODULES
[module/|]
@ -276,6 +276,11 @@ format-disconnected-prefix-foreground = ${res/colors.green}
label-connected = %essid%
label-disconnected = Disconnected
[module/wlan-desktop-stats]
type = internal/network
interface = wlp5s0
label-connected = U %upspeed% D %downspeed%
[module/xkeyboard]
type = internal/xkeyboard
format = <label-layout>