From f7e78e3cea0dacdc888110c87f8a6fc06e261b4a Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 21 Nov 2024 19:10:44 +0100 Subject: [PATCH] home/programs/waybar: add wifi strength as icon --- home/programs/waybar/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/home/programs/waybar/default.nix b/home/programs/waybar/default.nix index 92c404c..a6b04eb 100644 --- a/home/programs/waybar/default.nix +++ b/home/programs/waybar/default.nix @@ -129,14 +129,20 @@ in { network = { interface = "wlp1s0"; format = "{ifname}"; - format-wifi = "({signalStrength}%) "; + format-wifi = "{icon}"; format-ethernet = "{ipaddr}/{cidr} 󰊗"; format-disconnected = ""; tooltip-format = "{ifname} via {gwaddr} 󰊗"; - tooltip-format-wifi = "{essid} ({signalStrength}%) "; + tooltip-format-wifi = "{essid} ({signalStrength}%)"; tooltip-format-ethernet = "{ifname} "; tooltip-format-disconnected = "Disconnected"; max-length = 50; + format-icons = [ + "󰤟" + "󰤢" + "󰤥" + "󰤨" + ]; }; }; };