aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/polybar/module/wifi-separator.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-12-07 20:37:13 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-12-07 20:37:13 +0530
commite0dfcfb753be2ae086f497e06affd40beddceb20 (patch)
treeddf17690a892763ec398c9f7beef9c223204bcd3 /modules/desktop/polybar/module/wifi-separator.nix
parentb7d4e1711262591475016ae57f1ead6cf54b07f6 (diff)
downloadhome-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-separator.nix')
-rw-r--r--modules/desktop/polybar/module/wifi-separator.nix14
1 files changed, 14 insertions, 0 deletions
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 = "";
+}