From 1a4897889642db4f2427f1a76f28ab32b4290286 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 29 Mar 2020 01:21:49 -0400 Subject: [PATCH] Add VPN status in polybar --- .config/polybar/config | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config b/.config/polybar/config index c5c08c6..27c7e7d 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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]