From 85f3fd572641993892b60930a3e97efabf2d9c2f Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 18 Jul 2023 21:55:03 +0530 Subject: overlays: wmenu initial commit --- features/wayland.nix | 2 +- overlays/wmenu-sinan.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 overlays/wmenu-sinan.nix diff --git a/features/wayland.nix b/features/wayland.nix index dd068e7..53ff77f 100644 --- a/features/wayland.nix +++ b/features/wayland.nix @@ -51,7 +51,7 @@ in grim slurp wl-clipboard - wmenu + wmenu-sinan mako wayland xdg-utils diff --git a/overlays/wmenu-sinan.nix b/overlays/wmenu-sinan.nix new file mode 100644 index 0000000..c304efb --- /dev/null +++ b/overlays/wmenu-sinan.nix @@ -0,0 +1,12 @@ +final: prev: + +{ + wmenu-sinan = prev.wmenu.overrideAttrs (finalAttrs: prevAttrs: + { + pname = prevAttrs.pname + "-sinan"; + postPatch = '' + sed 's/monospace 10/monospace 13/g' -i main.c + ''; + } + ); +} -- cgit v1.2.3