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.

47 lines
1.9 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/share/bin/dunst_toggle.sh", "-e", NULL };
  7. static const char *notifications_off[] = { "/home/yigit/.local/share/bin/dunst_toggle.sh", "-s", NULL };
  8. static const char *mute_on[] = { "/home/yigit/.local/share/bin/pacontrol.sh", "open-mute", NULL };
  9. static const char *mute_off[] = { "/home/yigit/.local/share/bin/pacontrol.sh", "close-mute", NULL };
  10. static const char *screensaver_off[] = { "/home/yigit/.local/share/bin/screensaver_toggle", "-s", NULL };
  11. static const char *screensaver_on[] = { "/home/yigit/.local/share/bin/screensaver_toggle", "-e", NULL };
  12. static const char **prelock[] = {lights_off, notifications_off, mute_on, screensaver_off};
  13. static const char **postlock[] = {lights_on, notifications_on, mute_off, screensaver_on};
  14. static const char *colorname[NUMCOLS] = {
  15. [INIT] = "black", /* after initialization */
  16. [INPUT] = "#3a575c", /* during input */
  17. [FAILED] = "#bf616a", /* wrong password */
  18. [CAPS] = "#ebcb8b", /* CapsLock on */
  19. };
  20. /* treat a cleared input like a wrong password (color) */
  21. static const int failonclear = 0;
  22. /* default message */
  23. static const char * message = "\
  24. .-""-.\n\
  25. / .--. \\\n\
  26. / / \\ \\\n\
  27. | | | |\n\
  28. | |.-""-.|\n\
  29. ///`.::::.`\\\n\
  30. ||| ::/ \\:: ;\n\
  31. ||; ::\\__/:: ;\n\
  32. \\\\\\ '::::' /\n\
  33. `=':-..-'`\n\
  34. ";
  35. /* text color */
  36. static const char * text_color = "#ffffff";
  37. /* text size (must be a valid size) */
  38. static const char * font_name = "fixed";