diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 03:24:35 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 03:24:35 +0900 |
| commit | 0bbc6ee96491c8f9619148018214427d8ca026b4 (patch) | |
| tree | e4ac9101f5f795af72eed493c00031a480c940f2 /slock/slock.c | |
| parent | 36f7b343c714566d5bf931e768f0536a12d67c2f (diff) | |
modified slock/config.def.h, modified slock/slock.c
Diffstat (limited to 'slock/slock.c')
| -rw-r--r-- | slock/slock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slock/slock.c b/slock/slock.c index 040012d..3293def 100644 --- a/slock/slock.c +++ b/slock/slock.c @@ -714,8 +714,8 @@ main(int argc, char **argv) { snprintf(command, size_needed, "mount | grep -q ' %s/Private '", home_path); int result = system(command); free(command); - if (result != 0) { - background_image = ".local/share/wallpapers/lock"; + if (result == 0) { + background_image = private_image; privateblur = 0; } if (strcmp(background_image, "") == 0) { |
