Thanks to visit codestin.com
Credit goes to github.com

Skip to content

daanblom/dmenu-inlineprompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

dmenu inline prompt

This patch modifies dmenu so that, instead of displaying the prompt in front of the input, the prompt is shown as placeholder text inside the input field. When no text is typed, the placeholder appears; when you start typing, your input replaces it.

dmenu with inline prompt

Features

  • Displays the prompt as placeholder text inside the input field when empty.
  • Cursor (|) only appears when typing, keeping the field visually clean when empty.
  • Build on latest version of dmenu (5.4)

Installation

  1. If you start off fresh, clone the dmenu repo from suckless.org
git clone https://git.suckless.org/dmenu
  1. Clone this repo
git clone https://github.com/daanblom/dmenu-inlineprompt.git
  1. Apply the patch (from your dmenu directory):
patch -p 1 < /path/to/patch.diff
  1. Compile and install dmenu:
sudo make clean install

Usage

No changes in usage. Run dmenu as usual with -p to set the prompt text.

Notes

License

Follow the same license as dmenu (MIT/X11).

About

Shows dmenu prompt text as a placeholder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors