Hiltjo Posthuma
3c91eed0fb
config.def.h: style improvement, use color Scheme enum
8 years ago
Markus Teich
44c7de3dcf
import new drw from libsl and minor fixes.
- extract drawitem function (code deduplication)
- fix bug where inputw was not correctly calculated from the widest item, but
just from the one with the longest strlen() which is not the same. It's better
now, but does not account for fallback fonts, since it would be too slow to
calculate all the correct item widths on startup.
- minor code style fixes (indentation, useless line breaks)
8 years ago
Klemens Nanni
3de85ca21c
Typofix
9 years ago
Quentin Rameau
120e840107
Add config option for word delimiters
Let the user configure word boundaries other than ' ', only works with
the portable character set.
9 years ago
Hiltjo Posthuma
cc596365ac
unboolify dmenu
9 years ago
Hiltjo Posthuma
bc20c13db0
separate program-specific c99 bool and X11
True, False are X11-specific, make sure to use c99 stdbool for
program-specific things.
... also remove left-over vim mode string in config.
9 years ago
Hiltjo Posthuma
4b1fecd44e
Use libdraw: add Xft and fallback-fonts support to graphics lib
- libdraw, util: add drw.{c,h}, util.{c,h} and update code.
- libdraw: fix drw_rect(): use w and h parameter.
- libdraw: print errstr if last character in string was ":" (sbase).
- libdraw: drw_clr_free() allow valid free(NULL).
- config.def.h: set default font to monospace.
- cleanup() on exit.
- LICENSE: update license string for dmenu -v to 2015.
- LICENSE: add myself to LICENSE
9 years ago
Anselm R Garbe
55c9be06ca
forgot to add config.def.h, thanks William
11 years ago
Connor Lane Smith
a7aee433cc
fixed bugs, no more config.h, updated manpage, new libdraw
14 years ago
Connor Lane Smith
855a566319
added dmenu.h, common.c
14 years ago
Connor Lane Smith
6efe1932be
fixed static symbols in config.def.h
14 years ago
Anselm R Garbe
8623bf5d19
prepared dmenu-4.1 release
14 years ago
Anselm R Garbe
4d8a646958
got rid of compile time xidx, grabbing the mouse pointer instead, falling back to screen 0 if no pointer available
16 years ago
Anselm R Garbe
b89a9501c7
reverted uint/ulong introduction
16 years ago
Anselm R Garbe
d2305e4b13
reusing config.h's color values, note we have to use const char *, instead of const char [] here, because the pointer might change
16 years ago
Anselm R Garbe
4fc6cbe608
yet another cosmetic change
16 years ago
Anselm R Garbe
a45f106d3c
cosmetic fixes
16 years ago
Anselm R Garbe
540a78761b
removed ido-matching, changed behavior of -i meaning case insensitive matching now, commented -x, -y, -w arguments in dmenu.1
17 years ago
Anselm R. Garbe
1c488e6dac
fixed font definition
17 years ago
Anselm R. Garbe
fdc1dba7ce
using saner defaults
17 years ago
Anselm R. Garbe
3439470a47
applied new color nuance
17 years ago
Anselm R. Garbe
6674bac1d3
applied my favorite color scheme
17 years ago
Anselm R. Garbe
975dfb4163
switching to white
17 years ago
Anselm R. Garbe
06ae894434
micromizing dmenu step 1
17 years ago
arg@10ksloc.org
7aae7fac9c
removed config.h
18 years ago
arg@10ksloc.org
7817523a68
initial import
18 years ago