From e0dfcfb753be2ae086f497e06affd40beddceb20 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Sun, 7 Dec 2025 20:37:13 +0530 Subject: Added wifi and ether sections to the polybar config + some other slight modification to make sure the components don't resize --- modules/desktop/polybar/module/wifi.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/desktop/polybar/module/wifi.nix (limited to 'modules/desktop/polybar/module/wifi.nix') diff --git a/modules/desktop/polybar/module/wifi.nix b/modules/desktop/polybar/module/wifi.nix new file mode 100644 index 0000000..f244054 --- /dev/null +++ b/modules/desktop/polybar/module/wifi.nix @@ -0,0 +1,21 @@ +{ config }: + +with config.scheme.withHashtag; +{ + type = "internal/network"; + interface = "wlan0"; + interface-type = "wireless"; + + format-connected = "%{T2}%{F${base03}}%{F-}%{T-} "; + format-disconnected = ""; + + label-connected = "%netspeed:8%"; + label-disconnected = ""; + + ramp-signal-0 = "󰢼"; + ramp-signal-1 = "󰢼"; + ramp-signal-2 = "󰢽"; + ramp-signal-3 = "󰢽"; + ramp-signal-4 = "󰢾"; + ramp-signal-5 = "󰢾"; +} -- cgit v1.2.3