shorter wav file. remove trailing newline. potentially use a single color.
This commit is contained in:
parent
276d7fba73
commit
e8963dec40
1
slock.c
1
slock.c
@ -254,6 +254,7 @@ lockscreen(Display *dpy, int screen) {
|
||||
0, DefaultDepth(dpy, lock->screen), CopyFromParent,
|
||||
DefaultVisual(dpy, lock->screen), CWOverrideRedirect | CWBackPixel, &wa);
|
||||
XAllocNamedColor(dpy, DefaultColormap(dpy, lock->screen), COLOR2, &color, &dummy);
|
||||
// XAllocNamedColor(dpy, DefaultColormap(dpy, lock->screen), COLOR1, &color, &dummy);
|
||||
lock->colors[1] = color.pixel;
|
||||
XAllocNamedColor(dpy, DefaultColormap(dpy, lock->screen), COLOR1, &color, &dummy);
|
||||
lock->colors[0] = color.pixel;
|
||||
|
Loading…
Reference in New Issue
Block a user