You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a massive amount of time inside readstdin() is spent trying to get the max input width and then put it into inputw, only for it to get clamped down to mw/3 inside setup(). it makes more sense to calculate inputw inside setup() once we have mw available. similar to the last patch, i see noticeable startup performance improvement: before -> after 160ms -> 60ms additionally this will take fallback fonts into account compared to the previous version, so it's not only more performant but also more correct. |
3 years ago | |
---|---|---|
LICENSE | 3 years ago | |
Makefile | 7 years ago | |
README | 14 years ago | |
arg.h | 9 years ago | |
config.def.h | 9 years ago | |
config.mk | 3 years ago | |
dmenu.1 | 6 years ago | |
dmenu.c | 3 years ago | |
dmenu_path | 6 years ago | |
dmenu_run | 13 years ago | |
drw.c | 3 years ago | |
drw.h | 3 years ago | |
stest.1 | 12 years ago | |
stest.c | 4 years ago | |
util.c | 8 years ago | |
util.h | 9 years ago |
README
dmenu - dynamic menu ==================== dmenu is an efficient dynamic menu for X. Requirements ------------ In order to build dmenu you need the Xlib header files. Installation ------------ Edit config.mk to match your local setup (dmenu is installed into the /usr/local namespace by default). Afterwards enter the following command to build and install dmenu (if necessary as root): make clean install Running dmenu ------------- See the man page for details.