aboutsummaryrefslogtreecommitdiffstats
path: root/polybar
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-11-02 21:29:32 -0700
committerGravatar Tom Willemse2021-11-02 22:06:32 -0700
commit5bf163e4305764d8d2d7d1f16c7a26b2a97804c1 (patch)
treee268ae55a7a80f9e641380596b587b85fcbeb385 /polybar
parent69a04fe1b90676a0bedb31eefc6cf4108abdc811 (diff)
downloadnew-dotfiles-5bf163e4305764d8d2d7d1f16c7a26b2a97804c1.tar.gz
new-dotfiles-5bf163e4305764d8d2d7d1f16c7a26b2a97804c1.zip
[polybar] Add VPN module for rincewind
Diffstat (limited to 'polybar')
-rw-r--r--polybar/.config/polybar/config11
1 files changed, 10 insertions, 1 deletions
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index cbcd231..663e98b 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -38,7 +38,7 @@ font-2 = siji:pixelsize=10;1
modules-left = ewmh xwindow
modules-center =
-modules-right = xkeyboard date
+modules-right = xkeyboard vpn date
tray-position = right
tray-padding = 2
@@ -211,3 +211,12 @@ screenchange-reload = true
[global/wm]
margin-top = 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