i3 init
This commit is contained in:
7
.config/polybar/openvpn-indicator.sh
Executable file
7
.config/polybar/openvpn-indicator.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$(nmcli | grep 'Dahoam VPN connection')" ]; then
|
||||
echo "%{A1:nmcli con down Dahoam:}旅%{A}"
|
||||
else
|
||||
echo "%{A1:nmcli con up Dahoam:}%{F#404040}旅%{F-} %{A}"
|
||||
fi
|
||||
Reference in New Issue
Block a user