mirror of
				https://github.com/tiyn/dmenu.git
				synced 2025-11-04 05:01:18 +01:00 
			
		
		
		
	config
This commit is contained in:
		@@ -11,8 +11,8 @@ static const char *fonts[] = {
 | 
				
			|||||||
static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
 | 
					static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
 | 
				
			||||||
static const char *colors[SchemeLast][2] = {
 | 
					static const char *colors[SchemeLast][2] = {
 | 
				
			||||||
	/*     fg         bg       */
 | 
						/*     fg         bg       */
 | 
				
			||||||
	[SchemeNorm] = { "#bbbbbb", "#222222" },
 | 
						[SchemeNorm] = { "#ffa500", "#000000" },
 | 
				
			||||||
	[SchemeSel] = { "#eeeeee", "#005577" },
 | 
						[SchemeSel] = { "#000000", "#ffa500" },
 | 
				
			||||||
	[SchemeOut] = { "#000000", "#00ffff" },
 | 
						[SchemeOut] = { "#000000", "#00ffff" },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
 | 
					/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								drw.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								drw.c
									
									
									
									
									
								
							@@ -139,11 +139,11 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern)
 | 
				
			|||||||
	 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349
 | 
						 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349
 | 
				
			||||||
	 * and lots more all over the internet.
 | 
						 * and lots more all over the internet.
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	FcBool iscol;
 | 
						/*FcBool iscol;
 | 
				
			||||||
	if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) {
 | 
						if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) {
 | 
				
			||||||
		XftFontClose(drw->dpy, xfont);
 | 
							XftFontClose(drw->dpy, xfont);
 | 
				
			||||||
		return NULL;
 | 
							return NULL;
 | 
				
			||||||
	}
 | 
						}*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	font = ecalloc(1, sizeof(Fnt));
 | 
						font = ecalloc(1, sizeof(Fnt));
 | 
				
			||||||
	font->xfont = xfont;
 | 
						font->xfont = xfont;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user