aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 65b5438c86fe050990edb7a4a56f095eaa4ca639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Dmenu with the following patches:

- xresources
- center
- border
- xyz

The center patch
	 adds the -c parameter for centering dmenu

The border patch
	adds the -bw parameter followed by an integer (width in pixels)
    dmenu -bw 4 -c -l 4 -p "Power: "


The xyz patch:
    The '-x' and '-y' options set the window position on the target monitor (0 if one is not supplied with '-m')
    If option '-b' is used, the y offset is computed from the bottom
    The '-x' and '-y' accept negative values
    The '-z' option sets the window width

	I've also modified the width calculation to accept a minimum width that is set in config.def.h
	lines 835 and 835, and works with -c

The xresources patch
	makes dmenu read the .Xresources file enabling<br>
	on the fly color matching with Pywal16
	
	### .Xressources or Pywal template
    
    ! dmenu
    dmenu.background:       {color1}
    dmenu.foreground:       {color15}
    dmenu.selbackground:    {color0}
    dmenu.selforeground:    {color15}
    dmenu.border:           {color4}

	I've added border color to the xressources patch.