From 9a8f1dcc96e9847f44cd0233822a8e8cf74269f7 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Fri, 29 Jul 2022 15:44:31 +0200 Subject: [PATCH] [sway] Display network status of individual devices --- dot_config/i3status-main.toml.tmpl | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/dot_config/i3status-main.toml.tmpl b/dot_config/i3status-main.toml.tmpl index 1946587..900bc65 100644 --- a/dot_config/i3status-main.toml.tmpl +++ b/dot_config/i3status-main.toml.tmpl @@ -1,4 +1,4 @@ -icons = "awesome" +icons = "awesome6" [theme] name = "plain" @@ -48,11 +48,18 @@ format_mem = "{mem_used_percents}" format_swap = "{swap_used_percents}" [[block]] -block = "networkmanager" -on_click = "alacritty -e nmtui" -interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+", "tun0", "virbr\\-[0-9]{12}"] -#interface_name_include = [] -device_format = "{icon}{ap}" +block = "net" +device = "ethernet" +hide_inactive = true +format = "" +format_alt = "{speed_down} {speed_up}" + +[[block]] +block = "net" +device = "wifi" +hide_inactive = true +format = "{ssid} {signal_strength}" +format_alt = "{speed_down} {speed_up}" [[block]] block = "toggle"