Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.2 KiB

  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 fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
  5. /* -fn option overrides fonts[0]; default X11 font or font set */
  6. static const char *fonts[] = {
  7. "monospace:size=10"
  8. };
  9. static const char *prompt = NULL; /* -p option; prompt to the left of input field */
  10. static const char *colors[SchemeLast][2] = {
  11. /* fg bg */
  12. [SchemeNorm] = { "#bbbbbb", "#222222" },
  13. [SchemeSel] = { "#eeeeee", "#005577" },
  14. [SchemeSelHighlight] = { "#ffc978", "#005577" },
  15. [SchemeNormHighlight] = { "#ffc978", "#222222" },
  16. [SchemeOut] = { "#000000", "#00ffff" },
  17. [SchemeHp] = { "#bbbbbb", "#333333" }
  18. };
  19. /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
  20. static unsigned int lines = 0;
  21. /* -h option; minimum height of a menu line */
  22. static unsigned int lineheight = 0;
  23. static unsigned int min_lineheight = 8;
  24. /*
  25. * Characters not considered part of a word while deleting words
  26. * for example: " /?\"&[]"
  27. */
  28. static const char worddelimiters[] = " ";