more xresources additions

This commit is contained in:
Jakub 2023-01-03 13:15:25 -05:00
parent 19045d2f14
commit e3248b0468

View File

@ -17,14 +17,14 @@ static const int failonclear = 1;
/* should [command] be run only once? */ /* should [command] be run only once? */
static const int runonce = 0; static const int runonce = 0;
/* length of time (seconds) until [command] is executed */ /* length of time (seconds) until [command] is executed */
static const int timeoffset = 30; static int timeoffset = 30;
/* command to be run after [timeoffset] seconds has passed */ /* command to be run after [timeoffset] seconds has passed */
static const char *command = "/usr/bin/xset dpms force off"; static const char *command = "/usr/bin/xset dpms force off";
/* time in seconds to cancel lock with mouse movement */ /* time in seconds to cancel lock with mouse movement */
static const int timetocancel = 4; static int timetocancel = 5;
static const int logosize = 75; static int logosize = 75;
static const int logow = 12; /* Grid width and height for right center alignment*/ static const int logow = 12; /* Grid width and height for right center alignment*/
static const int logoh = 6; static const int logoh = 6;
@ -44,6 +44,7 @@ static XRectangle rectangles[9] = {
#define BLUR #define BLUR
/*Set blur radius*/ /*Set blur radius*/
static int blurRadius=5; static int blurRadius=5;
/*Enable Pixelation*/ /*Enable Pixelation*/
//#define PIXELATION //#define PIXELATION
/*Set pixelation radius*/ /*Set pixelation radius*/
@ -58,4 +59,7 @@ ResourcePref resources[] = {
{ "failcolor", STRING, &colorname[FAILED] }, { "failcolor", STRING, &colorname[FAILED] },
{ "capscolor", STRING, &colorname[CAPS] }, { "capscolor", STRING, &colorname[CAPS] },
{ "blurradius", INTEGER, &blurRadius }, { "blurradius", INTEGER, &blurRadius },
{ "canceltime", INTEGER, &timetocancel },
{ "logosize", INTEGER, &logosize },
{ "timeout", INTEGER, &timeoffset },
}; };