mirror of
https://github.com/mintycube/slock.git
synced 2024-10-22 14:05:51 +02:00
dwmlogo: avoid defining BACKGROUND colour if BLUR_PIXELATED_SCREEN_PATCH is enabled ref. #5
This commit is contained in:
parent
e5e04272d1
commit
3f2ac9baec
@ -3,7 +3,7 @@ static const char *user = "nobody";
|
|||||||
static const char *group = "nogroup"; // use "nobody" for arch
|
static const char *group = "nogroup"; // use "nobody" for arch
|
||||||
|
|
||||||
static const char *colorname[NUMCOLS] = {
|
static const char *colorname[NUMCOLS] = {
|
||||||
#if DWM_LOGO_PATCH
|
#if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH
|
||||||
[BACKGROUND] = "#2d2d2d", /* after initialization */
|
[BACKGROUND] = "#2d2d2d", /* after initialization */
|
||||||
#endif // DWM_LOGO_PATCH
|
#endif // DWM_LOGO_PATCH
|
||||||
[INIT] = "black", /* after initialization */
|
[INIT] = "black", /* after initialization */
|
||||||
@ -56,7 +56,7 @@ static XRectangle rectangles[] = {
|
|||||||
* Xresources preferences to load at startup
|
* Xresources preferences to load at startup
|
||||||
*/
|
*/
|
||||||
ResourcePref resources[] = {
|
ResourcePref resources[] = {
|
||||||
#if DWM_LOGO_PATCH
|
#if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH
|
||||||
{ "color2", STRING, &colorname[BACKGROUND] },
|
{ "color2", STRING, &colorname[BACKGROUND] },
|
||||||
#endif //DWM_LOGO_PATCH
|
#endif //DWM_LOGO_PATCH
|
||||||
{ "color0", STRING, &colorname[INIT] },
|
{ "color0", STRING, &colorname[INIT] },
|
||||||
|
Loading…
Reference in New Issue
Block a user