aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/polybar/module/wifi-separator.nix
diff options
context:
space:
mode:
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 = "";
+}