config.def.h 1.1 KB

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