config.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /* See LICENSE file for copyright and license details. */
  2. /* Default settings; can be overriden by command line. */
  3. static int topbar = 0; /* -b option; if 0, dmenu appears at bottom */
  4. static const unsigned int barsize = 42; /* height of bar */
  5. /* -fn option overrides fonts[0]; default X11 font or font set */
  6. static const char *fonts[] = {
  7. //"Terminus:pixelsize=20:style=Bold",
  8. "Ubuntu Mono:size=18",
  9. };
  10. static const char *prompt = NULL; /* -p option; prompt to the left of input field */
  11. static const char *colors[SchemeLast][2] = {
  12. /* fg bg */
  13. [SchemeNorm] = { "#dddddd", "#300020" },
  14. [SchemeSel] = { "#ff00aa", "#300020" },
  15. [SchemeOut] = { "#000000", "#00ffff" },
  16. };
  17. /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
  18. static unsigned int lines = 0;
  19. /* -h option; minimum height of a menu line */
  20. static unsigned int lineheight = 0;
  21. static unsigned int min_lineheight = 42;
  22. /*
  23. * Characters not considered part of a word while deleting words
  24. * for example: " /?\"&[]"
  25. */
  26. static const char worddelimiters[] = " ";