From b7b209f7853b7f6f78f07cdb7a5bc1a667a81761 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 23 Jan 2024 14:36:00 +0100 Subject: [PATCH] compositor: Limit interfaces used for network in waybar --- modules/graphical/compositor/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/graphical/compositor/default.nix b/modules/graphical/compositor/default.nix index a3295870..af3f8fe3 100644 --- a/modules/graphical/compositor/default.nix +++ b/modules/graphical/compositor/default.nix @@ -260,12 +260,13 @@ in stopped = ""; }; }; - network = { + "network" = { + interface = "wlp0s20f3"; format-wifi = "{essid} "; format-ethernet = "{ipaddr}/{cidr} "; tooltip-format = "{ifname} via {gwaddr} "; format-linked = "{ifname} (No IP) "; - format-disconnected = "Disconnected ⚠"; + format-disconnected = ""; format-alt = "{ifname}: {ipaddr}/{cidr}"; }; pulseaudio = {