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

/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nobody";
static const char *lights_on[] = { "/bin/curl", "http://yeetclock/setcolor?R=136&G=192&B=208&O=1", NULL };
static const char *lights_off[] = { "/bin/curl", "http://yeetclock/setcolor?R=0&G=0&B=0&O=0", NULL };
static const char *notifications_on[] = { "/home/yigit/.local/bin/dunst_toggle.sh", "-e", NULL };
static const char *notifications_off[] = { "/home/yigit/.local/bin/dunst_toggle.sh", "-s", NULL };
static const char **prelock[] = {lights_off, notifications_off};
static const char **postlock[] = {lights_on, notifications_on};
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#3a575c", /* during input */
[FAILED] = "#bf616a", /* wrong password */
[CAPS] = "#ebcb8b", /* CapsLock on */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 0;
/* default message */
static const char * message = "\
.-""-.\n\
/ .--. \\\n\
/ / \\ \\\n\
| | | |\n\
| |.-""-.|\n\
///`.::::.`\\\n\
||| ::/ \\:: ;\n\
||; ::\\__/:: ;\n\
\\\\\\ '::::' /\n\
`=':-..-'`\n\
";
/* text color */
static const char * text_color = "#ffffff";
/* text size (must be a valid size) */
static const char * font_name = "fixed";