| index.md - sites - public wiki contents of suckless.org | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| 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. Th… | |
| 7 is the item order in the input list starting from 0. A use case is for s… | |
| 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.di… | |
| 20 | |
| 21 Authors | |
| 22 ------- | |
| 23 * Mathieu Moneyron <[email protected]> | |
| 24 * NRK <[email protected]> (v5.2 port) |