My dmenu build
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.
 
 
 
 
 
 

24 lines
876 B

  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=10"
  7. };
  8. static const char *prompt = NULL; /* -p option; prompt to the left of input field */
  9. static const char *colors[][2] = {
  10. /* fg bg */
  11. { "#bbbbbb", "#222222" }, /* normal */
  12. { "#eeeeee", "#005577" }, /* selected */
  13. { "#000000", "#00ffff" }, /* out */
  14. };
  15. /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
  16. static unsigned int lines = 0;
  17. /*
  18. * Characters not considered part of a word while deleting words
  19. * for example: " /?\"&[]"
  20. */
  21. static const char worddelimiters[] = " ";