summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-07-18 21:55:03 +0530
committersinanmohd <sinan@sinanmohd.com>2023-07-19 20:49:15 +0530
commit85f3fd572641993892b60930a3e97efabf2d9c2f (patch)
treea6807108329c1e0f857e83aa74f97174c9272430
parent880dedacfbf091a47395cad38d84c5a583a76d14 (diff)
overlays: wmenu initial commit
-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
+ '';
+ }
+ );
+}