[polybar] Add VPN module for rincewind
This commit is contained in:
parent
69a04fe1b9
commit
5bf163e430
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue