summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--features/wayland.nix2
-rw-r--r--overlays/wmenu-sinan.nix12
2 files changed, 13 insertions, 1 deletions
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
+ '';
+ }
+ );
+}