Polybar: Add networking stats to desktop secondary bar
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user