summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-05-23 08:21:26 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-05-23 08:21:26 +0900
commit1104ba39b90d8154694dc1f5923726af128385cd (patch)
tree357626caf3369e14f76a006de422efdf74724601
parent5bf9b9ebd09b5990cc2cfcc718d52c660c235d48 (diff)
modified slock/config.def.h, modified slock/slock.c
-rw-r--r--slock/config.def.h2
-rw-r--r--slock/slock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/slock/config.def.h b/slock/config.def.h
index 4e3fed7..10b1ad2 100644
--- a/slock/config.def.h
+++ b/slock/config.def.h
@@ -45,7 +45,7 @@ static XRectangle rectangles[9] = {
#define BLUR
/* Set blur radius */
static int blurRadius = 5;
-static int privateblur = 100;
+static int privateBlurRadius = 100;
/* Enable Pixelation */
//#define PIXELATION
/* Set pixelation radius */
diff --git a/slock/slock.c b/slock/slock.c
index 45dbf6a..86be711 100644
--- a/slock/slock.c
+++ b/slock/slock.c
@@ -716,7 +716,7 @@ main(int argc, char **argv) {
free(command);
if (result == 0) {
background_image = private_image;
- blurRadius = privateblur;
+ blurRadius = privateBlurRadius;
}
if (strcmp(background_image, "") == 0) {
background_image = ".local/share/wallpapers/lock";