|
This commit is contained in:
		
							parent
							
								
									16bf21ec36
								
							
						
					
					
						commit
						ea3b0cbffe
					
				
							
								
								
									
										14
									
								
								config.def.h
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								config.def.h
									
									
									
									
									
								
							| @ -13,17 +13,17 @@ 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] = { "#dddddd", "#222222" }, | 	[SchemeNorm] =      { "#dddddd", "#111111" }, | ||||||
| 	[SchemeSel] = { "#ffffff", "#ff0000" }, | 	[SchemeSel] =       { "#ffffff", "#ff0000" }, | ||||||
| 	[SchemeOut] = { "#000000", "#bc3d2f" }, | 	[SchemeOut] =       { "#000000", "#bc3d2f" }, | ||||||
| 	[SchemeCaret] = { "#fe5e5e", "#222222" }, | 	[SchemeCaret] =     { "#fe5e5e", "#222222" }, | ||||||
| 	[SchemeBorder] = { "#dc0000", NULL }, | 	[SchemeBorder] =    { "#dc0000", NULL }, | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /* -l and -g options; controls number of lines and columns in grid if > 0 */ | /* -l and -g options; controls number of lines and columns in grid if > 0 */ | ||||||
| static unsigned int lines      = 9; | static unsigned int lines      = 9; | ||||||
| static unsigned int columns    = 4; | static unsigned int columns    = 2; | ||||||
| 
 | 
 | ||||||
| static const unsigned int alphas[SchemeLast][2] = { | static const unsigned int alphas[SchemeLast][2] = { | ||||||
| 	[SchemeNorm] = { OPAQUE, alpha }, | 	[SchemeNorm] = { OPAQUE, alpha }, | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ if [ ! -f "$FILE" ]; then | |||||||
|     exit 1 |     exit 1 | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| sed 's/|/'$'\t''/' "$FILE" | dmenu | { | sed 's/|/'$'\t''/' "$FILE" | dmenu "$@" | { | ||||||
|     IFS=$'\t' read -r col1 col2 |     IFS=$'\t' read -r col1 col2 | ||||||
|     [ -z "$col2" ] && exit 0 |     [ -z "$col2" ] && exit 0 | ||||||
|     eval "$col2" 2>/dev/null || : |     eval "$col2" 2>/dev/null || : | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Andreev Gregory
						Andreev Gregory