diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-06 11:59:26 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-06 11:59:26 +0200 |
commit | 13dd5472cf391a245bdc0994750d16d3ee650181 (patch) | |
tree | 5ad416a4c028d72c04007e483966a37ac2464def /patches | |
parent | Xmonad/Xmobar: Add dwm style hidden active workspace icons (diff) | |
download | nixos-config-13dd5472cf391a245bdc0994750d16d3ee650181.tar.gz nixos-config-13dd5472cf391a245bdc0994750d16d3ee650181.tar.bz2 nixos-config-13dd5472cf391a245bdc0994750d16d3ee650181.zip |
Dmenu: Add patch to hardcode the height to cover xmobar
Diffstat (limited to 'patches')
-rw-r--r-- | patches/dmenu_height.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/dmenu_height.patch b/patches/dmenu_height.patch new file mode 100644 index 0000000..1eacfb3 --- /dev/null +++ b/patches/dmenu_height.patch @@ -0,0 +1,13 @@ +diff --git a/config.h b/config.h +index 625b1a4..0a61072 100644 +--- a/config.h ++++ b/config.h +@@ -38,7 +38,7 @@ static const unsigned int alphas[][2] = { + }; + /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ + static unsigned int lines = 0; +-static unsigned int lineheight = 0; /* -h option; minimum height of a menu line */ ++static unsigned int lineheight = 22; /* -h option; minimum height of a menu line */ + + /* + * Characters not considered part of a word while deleting words |