mullvad-waybar: Add lock icon

This commit is contained in:
2021-05-04 12:09:38 +02:00
parent 7612e85e28
commit d32257f5d9

View File

@ -19,11 +19,13 @@ check_status() {
TOOLTIP="$STATUS" TOOLTIP="$STATUS"
TEXT="VPN" TEXT="VPN 🔓"
if check_status "$CONNECTED"; then if check_status "$CONNECTED"; then
ON_CLICK="mullvad disconnect" ON_CLICK="mullvad disconnect"
CLASS="" CLASS=""
TEXT="VPN 🔒"
elif check_status "$DISCONNECTED"; then elif check_status "$DISCONNECTED"; then
ON_CLICK="mullvad connect" ON_CLICK="mullvad connect"
CLASS="disconnected" CLASS="disconnected"