From d55ed0c98536f1648ade005c8cb0c8da4101b6a3 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Mon, 4 May 2026 06:22:25 +0200 Subject: update --- README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100755 index 0000000..288a67a --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +# Dmenu with the following patches: + +- xresources +- center +- border +- xyz +- fuzzymatch +- fuzzyhighlight +- mouse and motions support + +###The center patch +adds the -c option for centering dmenu + +###The border patch +adds the -bw option followed by an integer (width in pixels) ex. dmenu -bw 4 -c -l 4 -p "Power: " + +I've added border color to the xressources patch. + +###The xyz patch: +- The '-x' and '-y' options set the window position on the target monitor (0 if one is not supplied with '-m') +- If option '-b' is used, the y offset is computed from the bottom +- The '-x' and '-y' accept negative values +- The '-z' option sets the window width + +I've also modified the width calculation to accept a minimum width that is set in config.def.h +lines 835 and 835, and works with -c + +###The xresources patch +makes dmenu read the .Xresources file enabling
+on the fly color matching with Pywal16 + + ### .Xressources or Pywal template + + ! dmenu + dmenu.background: {color1} + dmenu.foreground: {color15} + dmenu.selbackground: {color0} + dmenu.selforeground: {color15} + dmenu.border: {color4} + dmenu.selhighlightforeground: {color12} + dmenu.selhighlightbackground: {color0} + dmenu.normhighlightforeground: {color7} + dmenu.normhighlightbackground: {color1} + +###The fuzzymatch and fuzzyhighlight patches +adds the -F option + +I've adapted fuzzyhighlight to the xressources patch + -- cgit v1.3-3-g829e