Wireguard icon update

Padlocks are missing from font set, so use the same 'key in box' icon for both. Status indicated by color. Cozy them up with network icon a bit.
This commit is contained in:
John Mertz 2022-07-21 01:19:27 -04:00
parent f77b4f4217
commit 9a5e9ebddc
2 changed files with 7 additions and 3 deletions

View File

@ -182,8 +182,8 @@
"interval": 10,
"interface": "wg0", // (Optional) To force the use of this interface
"tooltip": "{ipaddr}",
"format": "🔒",
"format-disconnected": "🔓",
"format": "",
"format-disconnected": "",
"on-click": "if [ $(sudo pgrep -xc rofi) -gt 0 ]; then pkill rofi; else ${HOME}/scripts/rofi/rofi-openvpn.sh; fi"
},
"cpu": {

View File

@ -135,9 +135,13 @@ window#waybar {
color: @blue;
}
#network.wireguard {
padding: 0px;
margin-left: -8px;
}
#network.disconnected {
color: @red;
padding: 0px;
}
#network.wifi {