mullvad-waybar: Add lock icon
This commit is contained in:
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user