From e536fd2cf6b0ed569125257f4d42389e9c3465cb Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 15 Jan 2024 16:58:31 +0100 Subject: [PATCH] feat(i3status-rust): add network block --- home-manager/sway/i3status-rust.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home-manager/sway/i3status-rust.nix b/home-manager/sway/i3status-rust.nix index 667fcf4..304bb39 100644 --- a/home-manager/sway/i3status-rust.nix +++ b/home-manager/sway/i3status-rust.nix @@ -9,6 +9,14 @@ icons = "awesome6"; blocks = [ + { + block = "net"; + format = " $icon { ($ssid) |}"; + click = [{ + button = "left"; + cmd = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor"; + }]; + } { block = "battery"; missing_format = "";