Commit Graph

12 Commits

Author SHA1 Message Date
Hiltjo Posthuma
3c91eed0fb config.def.h: style improvement, use color Scheme enum 2016-06-28 17:56:25 +02:00
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)
2016-06-03 19:13:15 +02:00
Klemens Nanni
3de85ca21c Typofix 2016-01-14 23:02:27 +01:00
Quentin Rameau
120e840107 Add config option for word delimiters
Let the user configure word boundaries other than ' ', only works with
the portable character set.
2015-12-19 20:32:14 +01:00
Hiltjo Posthuma
cc596365ac unboolify dmenu 2015-11-08 23:03:34 +01:00
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.
2015-09-27 23:02:33 +02:00
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
2015-06-27 21:47:10 +02:00
Anselm R Garbe
55c9be06ca forgot to add config.def.h, thanks William 2013-04-17 21:16:51 +02:00
Connor Lane Smith
a7aee433cc fixed bugs, no more config.h, updated manpage, new libdraw 2010-08-02 14:22:54 +01:00
Connor Lane Smith
855a566319 added dmenu.h, common.c 2010-07-02 06:49:05 +01:00
Connor Lane Smith
6efe1932be fixed static symbols in config.def.h 2010-06-24 11:30:30 +01:00
Anselm R Garbe
8623bf5d19 prepared dmenu-4.1 release 2010-05-28 11:42:49 +01:00