mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
122 lines
4.5 KiB
C
122 lines
4.5 KiB
C
/* Patches */
|
|
|
|
/* This patch adds a border around the dmenu window. It is intended to be used with the center
|
|
* or xyw patches, to make the menu stand out from similarly coloured windows.
|
|
* http://tools.suckless.org/dmenu/patches/border/
|
|
*/
|
|
#define BORDER_PATCH 0
|
|
|
|
/* This patch centers dmenu in the middle of the screen.
|
|
* https://tools.suckless.org/dmenu/patches/center/
|
|
*/
|
|
#define CENTER_PATCH 0
|
|
|
|
/* This patch adds support for fuzzy-matching to dmenu, allowing users to type non-consecutive
|
|
* portions of the string to be matched.
|
|
* https://tools.suckless.org/dmenu/patches/fuzzymatch/
|
|
*/
|
|
#define FUZZYMATCH_PATCH 0
|
|
|
|
/* This patch causes dmenu to print out the current text each time a key is pressed.
|
|
* https://tools.suckless.org/dmenu/patches/incremental/
|
|
*/
|
|
#define INCREMENTAL_PATCH 0
|
|
|
|
/* This patch adds an option to provide preselected text.
|
|
* https://tools.suckless.org/dmenu/patches/initialtext/
|
|
*/
|
|
#define INITIALTEXT_PATCH 0
|
|
|
|
/* This patch adds a flag which will cause dmenu to select an item immediately if there
|
|
* is only one matching option left.
|
|
* https://tools.suckless.org/dmenu/patches/instant/
|
|
*/
|
|
#define INSTANT_PATCH 0
|
|
|
|
/* This patch adds a '-h' option which sets the minimum height of a dmenu line. This helps
|
|
* integrate dmenu with other UI elements that require a particular vertical size.
|
|
* http://tools.suckless.org/dmenu/patches/line-height/
|
|
*/
|
|
#define LINE_HEIGHT_PATCH 0
|
|
|
|
/* This patch adds basic mouse support for dmenu.
|
|
* https://tools.suckless.org/dmenu/patches/mouse-support/
|
|
*/
|
|
#define MOUSE_SUPPORT_PATCH 0
|
|
|
|
/* This patch provides dmenu the ability for history navigation similar to that of bash.
|
|
* https://tools.suckless.org/dmenu/patches/navhistory/
|
|
*/
|
|
#define NAVHISTORY_PATCH 0
|
|
|
|
/* This is a patch to have dmenu read stdin in a non blocking way, making it wait for input both
|
|
* from stdin and from X. This means that you can continue feeding dmenu while you type.
|
|
* This patch is meant to be used along with the incremental patch, so that you can use stdout
|
|
* to feed stdin.
|
|
* https://tools.suckless.org/dmenu/patches/non_blocking_stdin/
|
|
*/
|
|
#define NON_BLOCKING_STDIN_PATCH 0
|
|
|
|
/* With this patch dmenu will not directly display the keyboard input, but instead replace
|
|
* it with dots. All data from stdin will be ignored.
|
|
* https://tools.suckless.org/dmenu/patches/password/
|
|
*/
|
|
#define PASSWORD_PATCH 0
|
|
|
|
/* This patch allows the selected text to be piped back out with dmenu. This can be useful if you
|
|
* want to display the output of a command on the screen.
|
|
* Only text starting with the character '#' is piped out by default.
|
|
* https://tools.suckless.org/dmenu/patches/pipeout/
|
|
*/
|
|
#define PIPEOUT_PATCH 0
|
|
|
|
/* This patch changes the behaviour of matched items and the Tab key to allow tab completion.
|
|
* https://tools.suckless.org/dmenu/patches/prefix-completion/
|
|
*/
|
|
#define PREFIXCOMPLETION_PATCH 0
|
|
|
|
/* This patch adds a flag (-t) which makes Return key to ignore selection and print the input
|
|
* text to stdout. The flag basically swaps the functions of Return and Shift+Return hotkeys.
|
|
* https://tools.suckless.org/dmenu/patches/printinputtext/
|
|
*/
|
|
#define PRINTINPUTTEXT_PATCH 0
|
|
|
|
/* This patch adds a new flag to dmenu with which text input will be rejected if it would
|
|
* result in no matching item.
|
|
* https://tools.suckless.org/dmenu/patches/reject-no-match/
|
|
*/
|
|
#define REJECTNOMATCH_PATCH 0
|
|
|
|
/* This patch adds support for text scrolling and no longer appends '...' for long input as
|
|
* it can handle long text.
|
|
* https://tools.suckless.org/dmenu/patches/scroll/
|
|
*/
|
|
#define SCROLL_PATCH 0
|
|
|
|
/* This patch prevents dmenu from indenting items at the same level as the prompt length.
|
|
* https://tools.suckless.org/dmenu/patches/vertfull/
|
|
*/
|
|
#define VERTFULL_PATCH 0
|
|
|
|
/* Adds extended window manager hints such as _NET_WM_WINDOW_TYPE and _NET_WM_WINDOW_TYPE_DOCK.
|
|
* https://github.com/Baitinq/dmenu/blob/master/patches/dmenu-wm_type.diff
|
|
*/
|
|
#define WMTYPE_PATCH 0
|
|
|
|
/* This patch adds the ability to configure dmenu via Xresources. At startup, dmenu will read and
|
|
* apply the resources named below:
|
|
* dmenu.font : font or font set
|
|
* dmenu.background : normal background color
|
|
* dmenu.foreground : normal foreground color
|
|
* dmenu.selbackground : selected background color
|
|
* dmenu.selforeground : selected foreground color
|
|
* https://tools.suckless.org/dmenu/patches/xresources/
|
|
*/
|
|
#define XRESOURCES_PATCH 0
|
|
|
|
/* This patch adds options for specifying dmenu window position and width.
|
|
* The center patch takes precedence over the XYW patch if enabled.
|
|
* https://tools.suckless.org/dmenu/patches/xyw/
|
|
*/
|
|
#define XYW_PATCH 0
|