From e3248b0468f97aa7519ad35d24dee9e4f654cf2d Mon Sep 17 00:00:00 2001 From: Jakub Date: Tue, 3 Jan 2023 13:15:25 -0500 Subject: [PATCH] more xresources additions --- config.def.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h index 9b0b62d..6d799e8 100644 --- a/config.def.h +++ b/config.def.h @@ -17,14 +17,14 @@ static const int failonclear = 1; /* should [command] be run only once? */ static const int runonce = 0; /* 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 */ static const char *command = "/usr/bin/xset dpms force off"; /* 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 logoh = 6; @@ -44,6 +44,7 @@ static XRectangle rectangles[9] = { #define BLUR /*Set blur radius*/ static int blurRadius=5; + /*Enable Pixelation*/ //#define PIXELATION /*Set pixelation radius*/ @@ -58,4 +59,7 @@ ResourcePref resources[] = { { "failcolor", STRING, &colorname[FAILED] }, { "capscolor", STRING, &colorname[CAPS] }, { "blurradius", INTEGER, &blurRadius }, + { "canceltime", INTEGER, &timetocancel }, + { "logosize", INTEGER, &logosize }, + { "timeout", INTEGER, &timeoffset }, };