[polybar] Add VPN module for rincewind

This commit is contained in:
Tom Willemse 2021-11-02 21:29:32 -07:00
parent 69a04fe1b9
commit 5bf163e430

View file

@ -38,7 +38,7 @@ font-2 = siji:pixelsize=10;1
modules-left = ewmh xwindow modules-left = ewmh xwindow
modules-center = modules-center =
modules-right = xkeyboard date modules-right = xkeyboard vpn date
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 2
@ -211,3 +211,12 @@ screenchange-reload = true
[global/wm] [global/wm]
margin-top = 5 margin-top = 5
margin-bottom = 5 margin-bottom = 5
[module/vpn]
type = custom/script
exec = echo VPN
exec-if = pgrep --exact openconnect
interval = 5
format-underline = #a8547e
format-background = #3f1f32
format-padding = 3