# Dmenu with the following patches: - xresources - center - border - xyz The center patch adds the -c parameter for centering dmenu The border patch adds the -bw parameter followed by an integer (width in pixels) dmenu -bw 4 -c -l 4 -p "Power: " 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} I've added border color to the xressources patch.