Add VPN status in polybar
This commit is contained in:
		
							parent
							
								
									0c708c1ea3
								
							
						
					
					
						commit
						1a48978896
					
				@ -72,7 +72,7 @@ font-2 = Noto Sans Mono:size=8;0
 | 
				
			|||||||
; Modules
 | 
					; Modules
 | 
				
			||||||
modules-left = temp-cpu cpu memfree memory
 | 
					modules-left = temp-cpu cpu memfree memory
 | 
				
			||||||
modules-center = popup-utc network public-ip filesystem
 | 
					modules-center = popup-utc network public-ip filesystem
 | 
				
			||||||
modules-right = battery 
 | 
					modules-right = vpn battery 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; Set the cursor to display pointer / resize is interaction available
 | 
					; Set the cursor to display pointer / resize is interaction available
 | 
				
			||||||
cursor-click = pointer
 | 
					cursor-click = pointer
 | 
				
			||||||
@ -82,6 +82,13 @@ cursor-scroll = ns-resize
 | 
				
			|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
					;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;   VPN Status
 | 
				
			||||||
 | 
					;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
				
			||||||
 | 
					[module/vpn]
 | 
				
			||||||
 | 
					type = custom/script
 | 
				
			||||||
 | 
					exec = mullvad status | awk '{print "VPN: "$3}'
 | 
				
			||||||
 | 
					interval = 10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;    Pop-up Calendar
 | 
					;    Pop-up Calendar
 | 
				
			||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
					;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
				
			||||||
[module/popup-utc]
 | 
					[module/popup-utc]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user