config.def.h 1.2 KB

1234567891011121314151617181920212223242526272829
  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. static int centered = 0; /* -c option; centers dmenu on screen */
  5. static int min_width = 500; /* minimum width when centered */
  6. /* -fn option overrides fonts[0]; default X11 font or font set */
  7. static const char *fonts[] = {
  8. "monospace:size=10"
  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] = { "#bbbbbb", "#222222" },
  14. [SchemeSel] = { "#eeeeee", "#005577" },
  15. [SchemeSelHighlight] = { "#ffc978", "#005577" },
  16. [SchemeNormHighlight] = { "#ffc978", "#222222" },
  17. [SchemeOut] = { "#000000", "#00ffff" },
  18. [SchemeOutHighlight] = { "#ffc978", "#00ffff" },
  19. };
  20. /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
  21. static unsigned int lines = 7;
  22. /*
  23. * Characters not considered part of a word while deleting words
  24. * for example: " /?\"&[]"
  25. */
  26. static const char worddelimiters[] = " ";