sites

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

index.md (1478B)


      1 # xresources
      2 
      3 Runtime configuration using X Resources.
      4 
      5 ## Description
      6 
      7 This patch adds Xresources support to dmenu. At startup, dmenu reads the
      8 relevant X resources and applies them at runtime. A declarative array defines
      9 the resources, making the patch easy to extend with more settings.
     10 dmenu recognizes the following resources by default:
     11 
     12 - `dmenu.font`: font or font set
     13 - `dmenu.prompt`: prompt string
     14 - `dmenu.background`: normal background color
     15 - `dmenu.foreground`: normal foreground color
     16 - `dmenu.backgroundSel`: selected background color
     17 - `dmenu.foregroundSel`: selected foreground color
     18 - `dmenu.backgroundOut`: output background color
     19 - `dmenu.foregroundOut`: output foreground color
     20 - `dmenu.topbar`: position of dmenu at top (1) or bottom (0)
     21 - `dmenu.lines`: number of lines for vertical display
     22 
     23 Values set in Xresources override those in config.h. Command line
     24 arguments take precedence over both.
     25 
     26 ## Download
     27 
     28 - [dmenu-xresources-4.9.diff](./dmenu-xresources-4.9.diff) (2020/05/24)
     29 - [dmenu-xresources-alt-5.0.diff](./dmenu-xresources-alt-5.0.diff) (2021/04/15)
     30 - [dmenu-xresources-20260510-7175c48.diff](./dmenu-xresources-20260510-7175c48.diff)
     31 
     32 ## Authors
     33 
     34 - MichaƂ Lemke - @melek on [Bitbucket](https://bitbucket.org/melek/dmenu2/)
     35 - Pratik Bhusal (4.9 port)
     36 - Nihal Jere <nihal@nihaljere.xyz> (20200302)
     37 - Francesco Minnocci <ad17fmin@uwcad.it> (command line parameters fix)
     38 - Vadim Zyamalov (alt-5.0)
     39 - Justinas Grigas <dev@jstnas.com> (20260510)