From d37713ec74f6aa059fdb5f6791f4090d2fcc6f7a 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