| index.md - sites - public wiki contents of suckless.org | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| Refs | |
| --- | |
| index.md (872B) | |
| --- | |
| 1 separator | |
| 2 ========= | |
| 3 | |
| 4 This patch adds `-d` and `-D` flags which separates the input into two h… | |
| 5 One half will be displayed into dmenu and the other half will be printed… | |
| 6 | |
| 7 The following example will split the input into two halves on the _first_ | |
| 8 occurrence of ' ' (space). Meaning "alpha" will be displayed on dmenu, … | |
| 9 "beta charlie" will be printed to stdout upon selection. | |
| 10 | |
| 11 echo "alpha beta charlie" | dmenu -d ' ' | |
| 12 | |
| 13 `-D` is similar but it separates the input based on the _last_ occurrenc… | |
| 14 | |
| 15 The display/print order can be reversed by appending '|' to the separato… | |
| 16 Example: `dmenu -D "$(printf "\t|")"` will separate on the last tab char… | |
| 17 and display the latter half on dmenu while printing the first half upon … | |
| 18 | |
| 19 Download | |
| 20 -------- | |
| 21 | |
| 22 * [dmenu-separator-5.2.patch](dmenu-separator-5.2.patch) | |
| 23 | |
| 24 Author | |
| 25 ------ | |
| 26 * NRK <[email protected]> |