diff options
Diffstat (limited to 'slock')
| -rw-r--r-- | slock/config.h | 2 | ||||
| -rwxr-xr-x | slock/slock | bin | 32144 -> 32144 bytes | |||
| -rw-r--r-- | slock/slock.c | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/slock/config.h b/slock/config.h index b219101..0c40efd 100644 --- a/slock/config.h +++ b/slock/config.h @@ -16,7 +16,7 @@ static const char *colorname[NUMCOLS] = { static const int failonclear = 1; /* Background image path, should be available to the user above */ -static const char* background_image = "Personal/photo/DEE96C0C-1003-4749-856A-D369E7E328C5.png"; +static const char* background_image = "Private/photo/0FA8481B-BCC3-440D-8A4C-1907C371102A.png"; /* default message */ static const char *message = "THESIAH"; diff --git a/slock/slock b/slock/slock Binary files differindex 650ae4d..c60a653 100755 --- a/slock/slock +++ b/slock/slock diff --git a/slock/slock.c b/slock/slock.c index 957012b..0cb1b74 100644 --- a/slock/slock.c +++ b/slock/slock.c @@ -673,9 +673,9 @@ main(int argc, char **argv) { /* Load picture */ char* home_path = getenv("HOME"); - int size_needed = snprintf(NULL, 0, "mount | grep -q ' %s/Personal '", home_path) + 1; + int size_needed = snprintf(NULL, 0, "mount | grep -q ' %s/Private '", home_path) + 1; char* command = malloc(size_needed); - snprintf(command, size_needed, "mount | grep -q ' %s/Personal '", home_path); + snprintf(command, size_needed, "mount | grep -q ' %s/Private '", home_path); int result = system(command); free(command); if (result != 0) { |
