Skip to content

8bitmcu/dmenu

Repository files navigation

dmenu (fork)

A bloated fork of suckless dmenu with lots of customizations.

This fork merges the following patches:

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 or dmenu.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!

Building and installing

  1. clone this repository locally on your machine
  2. run make clean && sudo make install from within the repository folder
  3. copy and edit the config file: cp /etc/dmenu/dmenu.toml $XDG_CONFIG_HOME/dmenu/dmenu.toml

Previews

dmenu_run with history, which prioritize history items over exact matches

dmenu_run

dmenu


dmenu as a password prompt

dmenu -p "Enter password:" -P -W 300

dmenu


dmenu as a confirmation dialog; with input disabled

echo "OK" | dmenu -p "Confirm this dialog" -i -W 0

dmenu


Edit dotfiles; fuzzy matching enabled & numbers displayed

select=$(find ~ -type f | dmenu -F -n -p "~") && [[ -n $select ]] && $TERMINAL -e $EDITOR $select dmenu

About

fork of dmenu (dynamic menu) with lots of customizations beyond patches like a config file!

Topics

Resources

License

Stars

Watchers

Forks