index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (1463B) | |
--- | |
1 Line height | |
2 =========== | |
3 The patch adds a '-h' option, which sets the minimum height of a dmenu l… | |
4 This helps integrate dmenu with other UI elements that require a particu… | |
5 vertical size. | |
6 | |
7 Example: | |
8 | |
9 By default, dmenu calculates its height as the height of the font used p… | |
10 So when opening dmenu over a panel bar that is 24 pixels high, it would … | |
11 like this: | |
12 | |
13 [](dmenu-def… | |
14 | |
15 Despite both the panel and dmenu using the same font (a Terminus 12), dm… | |
16 shorter and the panel is visible from under the dmenu bar. The appearanc… | |
17 be even more distracting when using similar colors for background and | |
18 selections. | |
19 | |
20 With the option added by this patch, dmenu can be launched with a '-h 24… | |
21 thus completely covering the panel, as shown below: | |
22 | |
23 [](dmen… | |
24 | |
25 The line height value is also used when dmenu is used in 'vertical' mode… | |
26 | |
27 Download | |
28 -------- | |
29 * [dmenu-lineheight-5.2.diff](dmenu-lineheight-5.2.diff) | |
30 * [dmenu-lineheight-5.0.diff](dmenu-lineheight-5.0.diff) | |
31 * [dmenu-lineheight-4.9.diff](dmenu-lineheight-4.9.diff) | |
32 * [dmenu-lineheight-4.7.diff](dmenu-lineheight-4.7.diff) | |
33 * [dmenu-lineheight-4.6.diff](dmenu-lineheight-4.6.diff) | |
34 | |
35 Author | |
36 ------ | |
37 * Xarchus | |
38 * Jonathon Fernyhough (jonathon at manjaro-dot-org) (4.7 rewrite) | |
39 * Aleksandrs Stier (4.9 port) | |
40 * Peter Skrypalle (5.0 port) |