From 59529fe194b00ea4ecd2692694da2369c9fb84c7 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 20 Jul 2025 00:42:07 +0200 Subject: [PATCH] Lib/Rofi: Replace lib.pipe with pipe operator --- lib/rofi.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/rofi.nix b/lib/rofi.nix index 97cc1d2c..854c822a 100644 --- a/lib/rofi.nix +++ b/lib/rofi.nix @@ -16,11 +16,10 @@ mkCase = option: action: "else if test \"${option}\" = $OPTION\n set ACTION \"${action}\""; cases = attrs: - lib.pipe attrs [ - (builtins.mapAttrs mkCase) - builtins.attrValues - (builtins.concatStringsSep "\n") - ]; + attrs + |> builtins.mapAttrs mkCase + |> builtins.attrValues + |> builtins.concatStringsSep "\n"; in prompt: attrs: pkgs.writeScript "rofi-menu-${prompt}" ''