index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (673B)
---
1 preselect
2 =========
3
4 Description
5 -----------
6 This patch adds an option to preselect an item by providing a number. This number
7 is the item order in the input list starting from 0. A use case is for selecting
8 media controls like in the following screenshot.
9
10 Create menu with the second item preselected:
11
12 echo -c 'item1\nitem2\nitem3' | dmenu -n 1
13
14 
15
16 Download
17 --------
18 * [dmenu-preselect-5.2](dmenu-preselect-5.2.diff) (2022-12-10)
19 * [dmenu-preselect-20200513-db6093f](dmenu-preselect-20200513-db6093f.diff) (2020-05-13)
20
21 Authors
22 -------
23 * Mathieu Moneyron <mathieu.moneyron@gmail.com>
24 * NRK <nrk@disroot.org> (v5.2 port)