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-separator.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/desktop/polybar/module/wifi-separator.nix (limited to 'modules/desktop/polybar/module/wifi-separator.nix') diff --git a/modules/desktop/polybar/module/wifi-separator.nix b/modules/desktop/polybar/module/wifi-separator.nix new file mode 100644 index 0000000..4237d84 --- /dev/null +++ b/modules/desktop/polybar/module/wifi-separator.nix @@ -0,0 +1,14 @@ +{ config }: + +with config.scheme.withHashtag; +{ + type = "internal/network"; + interface = "wlan0"; + interface-type = "wireless"; + + format-connected = " %{F${base03}}%{T3}│%{T-}%{F-} "; + format-disconnected = ""; + + label-connected = ""; + label-disconnected = ""; +} -- cgit v1.2.3