sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (837B)


      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 Download
     18 --------
     19 * [dmenu-center-4.8.diff](dmenu-center-4.8.diff)
     20 * [dmenu-center-20200111-8cd37e1.diff](dmenu-center-20200111-8cd37e1.diff)
     21 * [dmenu-center-5.2.diff](dmenu-center-5.2.diff)
     22 
     23 Authors
     24 -------
     25 * Ed van Bruggen <edvb@uw.edu>
     26 * Nihal Jere <nihal@nihaljere.xyz> (20200111)