mullvad-waybar: Add lock icon
This commit is contained in:
@ -19,11 +19,13 @@ check_status() {
|
||||
|
||||
TOOLTIP="$STATUS"
|
||||
|
||||
TEXT="VPN"
|
||||
TEXT="VPN 🔓"
|
||||
|
||||
|
||||
if check_status "$CONNECTED"; then
|
||||
ON_CLICK="mullvad disconnect"
|
||||
CLASS=""
|
||||
TEXT="VPN 🔒"
|
||||
elif check_status "$DISCONNECTED"; then
|
||||
ON_CLICK="mullvad connect"
|
||||
CLASS="disconnected"
|
||||
|
||||
Reference in New Issue
Block a user