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.

43 lines
1.4 KiB

  1. /* user and group to drop privileges to */
  2. static const char *user = "nobody";
  3. static const char *group = "nobody";
  4. static const char *lights_on[] = { "/bin/curl", "http://yeetclock/setcolor?R=136&G=192&B=208&O=1", NULL };
  5. static const char *lights_off[] = { "/bin/curl", "http://yeetclock/setcolor?R=0&G=0&B=0&O=0", NULL };
  6. static const char *notifications_on[] = { "/home/yigit/.local/bin/dunst_toggle.sh", "-e", NULL };
  7. static const char *notifications_off[] = { "/home/yigit/.local/bin/dunst_toggle.sh", "-s", NULL };
  8. static const char **prelock[] = {lights_off, notifications_off};
  9. static const char **postlock[] = {lights_on, notifications_on};
  10. static const char *colorname[NUMCOLS] = {
  11. [INIT] = "black", /* after initialization */
  12. [INPUT] = "#3a575c", /* during input */
  13. [FAILED] = "#bf616a", /* wrong password */
  14. [CAPS] = "#ebcb8b", /* CapsLock on */
  15. };
  16. /* treat a cleared input like a wrong password (color) */
  17. static const int failonclear = 0;
  18. /* default message */
  19. static const char * message = "\
  20. .-""-.\n\
  21. / .--. \\\n\
  22. / / \\ \\\n\
  23. | | | |\n\
  24. | |.-""-.|\n\
  25. ///`.::::.`\\\n\
  26. ||| ::/ \\:: ;\n\
  27. ||; ::\\__/:: ;\n\
  28. \\\\\\ '::::' /\n\
  29. `=':-..-'`\n\
  30. ";
  31. /* text color */
  32. static const char * text_color = "#ffffff";
  33. /* text size (must be a valid size) */
  34. static const char * font_name = "fixed";