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