A bloated fork of suckless dmenu with lots of customizations.
This fork merges the following patches:
- dmenu-alpha: adds transparency
- dmenu-bar-height: changes height of items
- dmenu-border: adds a border
- dmenu-caseinsensitive: adds case-sensitivity
- dmenu-center: centers dmenu
- dmenu-fuzzymatch: fuzzy matching
- dmenu-fuzzyhighlight: highlights matching results
- dmenu-initialtext: starts dmenu with user input
- dmenu-linebelowprompt-and-fullwidth: show entries below prompt
- dmenu-mousesupport: mouse support
- dmenu-multiselect: allows multiple items to be selected
- dmenu-numbers: show number of matches/items
- dmenu-password: hides keyboard input with characters
- dmenu-printindex: prints index of item instead of item
- dmenu_run_history: dmenu_run with history
And adds the following other changes:
- always vertical/centered; there is no longer a horizontal mode
- configuration file; loads configuration from
$XDG_CONFIG_HOME/dmenu/dmenu.toml
if it exists - margin and padding; can be configured in
config.h
ordmenu.toml
- inputless mode using the -i flag
- prioritize history items over exact matches
- faster width calculation of large files
- minimum width can be specified with the -W flag
Have a look at dmenu.toml!
- clone this repository locally on your machine
- run
make clean && sudo make install
from within the repository folder - copy and edit the config file:
cp /etc/dmenu/dmenu.toml $XDG_CONFIG_HOME/dmenu/dmenu.toml
dmenu_run
dmenu -p "Enter password:" -P -W 300
echo "OK" | dmenu -p "Confirm this dialog" -i -W 0
select=$(find ~ -type f | dmenu -F -n -p "~") && [[ -n $select ]] && $TERMINAL -e $EDITOR $select