config.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. "monospace:size=14"
  7. };
  8. static const unsigned int bgalpha = 0xe0;
  9. static const unsigned int fgalpha = OPAQUE;
  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. [SchemeOut] = { "#000000", "#00ffff" },
  16. };
  17. static const unsigned int alphas[SchemeLast][2] = {
  18. /* fgalpha bgalphga */
  19. [SchemeNorm] = { fgalpha, bgalpha },
  20. [SchemeSel] = { fgalpha, bgalpha },
  21. [SchemeOut] = { fgalpha, bgalpha },
  22. };
  23. /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
  24. static unsigned int lines = 0;
  25. /*
  26. * Characters not considered part of a word while deleting words
  27. * for example: " /?\"&[]"
  28. */
  29. static const char worddelimiters[] = " ";