From 9a5e9ebddccf256710d0f64597c68629209fbcfe Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 21 Jul 2022 01:19:27 -0400 Subject: [PATCH] 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. --- waybar/config.template | 4 ++-- waybar/style.css | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/waybar/config.template b/waybar/config.template index a9b23ce27..2f1368610 100644 --- a/waybar/config.template +++ b/waybar/config.template @@ -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": { diff --git a/waybar/style.css b/waybar/style.css index e45885ecd..85a9d499c 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -135,9 +135,13 @@ window#waybar { color: @blue; } +#network.wireguard { + padding: 0px; + margin-left: -8px; +} + #network.disconnected { color: @red; - padding: 0px; } #network.wifi {