diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-12-07 20:37:13 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-12-07 20:37:13 +0530 |
| commit | e0dfcfb753be2ae086f497e06affd40beddceb20 (patch) | |
| tree | ddf17690a892763ec398c9f7beef9c223204bcd3 /modules/desktop/polybar/module/wifi.nix | |
| parent | b7d4e1711262591475016ae57f1ead6cf54b07f6 (diff) | |
| download | home-manager-config-e0dfcfb753be2ae086f497e06affd40beddceb20.tar.gz home-manager-config-e0dfcfb753be2ae086f497e06affd40beddceb20.zip | |
Added wifi and ether sections to the polybar config + some other slight modification to make sure the components don't resize
Diffstat (limited to 'modules/desktop/polybar/module/wifi.nix')
| -rw-r--r-- | modules/desktop/polybar/module/wifi.nix | 21 |
1 files changed, 21 insertions, 0 deletions
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}}<ramp-signal>%{F-}%{T-} <label-connected>"; + 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 = ""; +} |
