diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-11 12:31:55 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-11 12:31:55 +0900 |
| commit | a32e6f6a1640ff87048ef8577310fa9e28cd8758 (patch) | |
| tree | b06415b4fa33fb610ab49f928e74352681f914f5 /slock | |
| parent | cbdf1bb121b88f8f0f6fc133270056dfc6ee233a (diff) | |
modified slock/config.def.h, modified slock/slock.c
Diffstat (limited to 'slock')
| -rw-r--r-- | slock/config.def.h | 2 | ||||
| -rw-r--r-- | slock/slock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slock/config.def.h b/slock/config.def.h index 92e705f..4e3fed7 100644 --- a/slock/config.def.h +++ b/slock/config.def.h @@ -44,7 +44,7 @@ static XRectangle rectangles[9] = { /* Enable blur */ #define BLUR /* Set blur radius */ -static const int blurRadius = 5; +static int blurRadius = 5; static int privateblur = 100; /* Enable Pixelation */ //#define PIXELATION diff --git a/slock/slock.c b/slock/slock.c index 3293def..9af2dfe 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; - privateblur = 0; + blurRadius = privateblur; } if (strcmp(background_image, "") == 0) { background_image = ".local/share/wallpapers/lock"; |
