aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/module/network.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/waybar/module/network.nix')
-rw-r--r--modules/desktop/waybar/module/network.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/desktop/waybar/module/network.nix b/modules/desktop/waybar/module/network.nix
new file mode 100644
index 0000000..e1036ed
--- /dev/null
+++ b/modules/desktop/waybar/module/network.nix
@@ -0,0 +1,16 @@
+{ config }:
+with config.scheme.withHashtag;
+{
+ format-wifi = "{icon} {signalStrength}%";
+ format-ethernet = " {ipaddr}";
+ format-disconnected = "";
+ tooltip-format = "{ifname}";
+ tooltip-format-wifi = "{essid} ({signalStrength}%)";
+ tooltip-format-ethernet = "Wired: {ipaddr}";
+ tooltip-format-disconnected = "Disconnected";
+ format-icons = [
+ "󰢼"
+ "󰢽"
+ "󰢾"
+ ];
+}