Return to repo list

suckless-gf-dmenu

Gentoo-friendly patches for Suckless's dmenu.
Return to HMagellan.com

USAGE (2175B)


      1 border - Add a border around dmenu
      2 Source: https://st.suckless.org/patches/anysize/st-anysize-0.8.1.diff
      3 Original Author: Leon Plickat <leonhenrik.plickat[at]stud.uni-goettingen.de>
      4 
      5 Description from source:
      6     """
      7     This patch adds a border around the dmenu window. It is intended to be used with the 
      8     center or xyw patches, to make the menu stand out from similarly coloured windows.
      9     """
     10 
     11 == YOU MUST ==
     12 (1). Place the patch file in /etc/portage/patches/x11-misc/dmenu/
     13 (2). Add the following line to your savedconfig file:
     14 
     15         static const unsigned int border_width = 5;
     16 
     17      Set the 'border_width' variable to the desired border thickness.
     18 (3). Run 'emerge dmenu'
     19 
     20 == YOU PROBABLY SHOULD ==
     21 No further action is required.
     22 
     23 == PATCH MODIFICATIONS ==
     24 (1). Removed lines relating to 'config.def.h'
     25 
     26 == INCOMPATIBILITIES ==
     27 No known specific incompatibilities.
     28 
     29 ###################################################################################################
     30 ###################################################################################################
     31 
     32 borderoption - Control dmenu border width with command line option '-bw'
     33 Source: https://tools.suckless.org/dmenu/patches/border/dmenu-borderoption-20200217-bf60a1e.diff
     34 Original Author: Ben Raskin <ben[at]0x1bi.net>
     35 
     36 Description from source:
     37     """
     38     This patch is a derivative of the previous patch. The border witdh can be specified through the command 
     39     line using the -bw option. Width defaults to 0.
     40 
     41     Create menu with border width 3:
     42 
     43     echo 'item1\nitem2\nitem3' | dmenu -bw 3
     44     """
     45 
     46 == YOU MUST ==
     47 (1). Place the patch file in /etc/portage/patches/x11-misc/dmenu/
     48 (2). Add the following line to your savedconfig file:
     49 
     50         static unsigned int border_width = 0;
     51 
     52      Set the 'border_width' variable to the desired default border thickness. Notice the lack of 'const'.
     53 (3). Run 'emerge dmenu'
     54 
     55 == YOU PROBABLY SHOULD ==
     56 (1). Run 'dmenu' or 'dmenu_run' with the '-bw X' option, where 'X' is the desired thickness of the border in pixels.
     57 
     58 == PATCH MODIFICATIONS ==
     59 (1). Removed lines relating to config.def.h
     60 
     61 == INCOMPATIBILITIES ==
     62 No known specific incompatibilities.