From 7a554a66faf55ea3352f67ee8e03ccf47f0cc18f Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 15 Dec 2024 17:13:35 +0100 Subject: [PATCH] Use iproute2 instead of iproute --- users/simon/modules/sway/waybar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/simon/modules/sway/waybar.nix b/users/simon/modules/sway/waybar.nix index b4e7a19..336e431 100644 --- a/users/simon/modules/sway/waybar.nix +++ b/users/simon/modules/sway/waybar.nix @@ -194,7 +194,7 @@ in "custom/vpn" = { interval = 10; exec = pkgs.writeShellScript "vpn-state" '' - ${pkgs.iproute}/bin/ip -j link \ + ${pkgs.iproute2}/bin/ip -j link \ | ${pkgs.jq}/bin/jq --unbuffered --compact-output ' [[.[].ifname | select(. | startswith("mlv"))][] | sub("mlv-"; "") + " 󰌾${thinsp}"] as $conns | { text: ($conns[0] // ""), class: (if $conns | length > 0 then "connected" else "disconnected" end) }'