Add VPN status in polybar

This commit is contained in:
Shaun Reed 2020-03-29 01:21:49 -04:00
parent 0c708c1ea3
commit 1a48978896
1 changed files with 8 additions and 1 deletions

View File

@ -72,7 +72,7 @@ font-2 = Noto Sans Mono:size=8;0
; Modules
modules-left = temp-cpu cpu memfree memory
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
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
;;;;;;;;;;;;;;;;;;;;;;;;;;
[module/popup-utc]