config.h 891 B

123456789101112131415161718192021222324252627282930313233
  1. /* user and group to drop privileges to */
  2. static const char *user = "dani77";
  3. static const char *group = "wheel";
  4. static const char *colorname[NUMCOLS] = {
  5. [BACKGROUND] = "black", /* after initialization */
  6. [INIT] = "#2d2d2d", /* after initialization */
  7. [INPUT] = "#005577", /* during input */
  8. [FAILED] = "#CC3333", /* wrong password */
  9. };
  10. /* treat a cleared input like a wrong password (color) */
  11. static const int failonclear = 1;
  12. /* insert grid pattern with scale 1:1, the size can be changed with logosize */
  13. static const int logosize = 75;
  14. static const int logow = 12; /* grid width and height for right center alignment*/
  15. static const int logoh = 6;
  16. static XRectangle rectangles[9] = {
  17. /* x y w h */
  18. { 0, 3, 1, 3 },
  19. { 1, 3, 2, 1 },
  20. { 0, 5, 8, 1 },
  21. { 3, 0, 1, 5 },
  22. { 5, 3, 1, 2 },
  23. { 7, 3, 1, 2 },
  24. { 8, 3, 4, 1 },
  25. { 9, 4, 1, 2 },
  26. { 11, 4, 1, 2 },
  27. };