index.md (1068B)
1 center 2 ====== 3 4 Description 5 ----------- 6 This patch centers dmenu in the middle of the screen. 7 8 Previously this has been achieved through the [xyw 9 patch](//tools.suckless.org/dmenu/patches/xyw) and a bash script to calculate 10 the centered x and y positions. However, this is a slow and overly complex way 11 which is hard to integrate into programs which call dmenu directly, eg surf or 12 tabbed. On the other hand, This small standalone patch is instantaneous and 13 works globally. 14 15 With `dmenu-center-20200111-8cd37e1.diff`, you can use _-c_ to center dmenu. 16 17 With `dmenu-center-20240616-36c3d68.diff`, you can not only center dmenu 18 but also adjust its height. 19 20 Download 21 -------- 22 * [dmenu-center-4.8.diff](dmenu-center-4.8.diff) 23 * [dmenu-center-20200111-8cd37e1.diff](dmenu-center-20200111-8cd37e1.diff) 24 * [dmenu-center-5.2.diff](dmenu-center-5.2.diff) 25 * [dmenu-center-20240616-36c3d68.diff](dmenu-center-20240616-36c3d68.diff) 26 27 Authors 28 ------- 29 * Ed van Bruggen <edvb@uw.edu> 30 * Nihal Jere <nihal@nihaljere.xyz> (20200111) 31 * El Bachir Kassimi <bachiralfa@gmail.com> (20240616)