Add urgent and warning color schemes
This commit is contained in:
		
							
								
								
									
										4
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								config.h
									
									
									
									
									
								
							@@ -14,10 +14,14 @@ static const char col_gray2[]       = "#444444";
 | 
				
			|||||||
static const char col_gray3[]       = "#bbbbbb";
 | 
					static const char col_gray3[]       = "#bbbbbb";
 | 
				
			||||||
static const char col_gray4[]       = "#eeeeee";
 | 
					static const char col_gray4[]       = "#eeeeee";
 | 
				
			||||||
static const char col_cyan[]        = "#005577";
 | 
					static const char col_cyan[]        = "#005577";
 | 
				
			||||||
 | 
					static const char col_red[]         = "#dc322f";
 | 
				
			||||||
 | 
					static const char col_orange[]      = "#cb4b16";
 | 
				
			||||||
static const char *colors[][3]      = {
 | 
					static const char *colors[][3]      = {
 | 
				
			||||||
	/*               fg          bg         border   */
 | 
						/*               fg          bg         border   */
 | 
				
			||||||
	[SchemeNorm] = { col_gray3,  col_gray1, col_gray2 },
 | 
						[SchemeNorm] = { col_gray3,  col_gray1, col_gray2 },
 | 
				
			||||||
	[SchemeSel] =  { col_gray4,  col_cyan,  col_cyan  },
 | 
						[SchemeSel] =  { col_gray4,  col_cyan,  col_cyan  },
 | 
				
			||||||
 | 
						[SchemeUrg] =  { col_orange, col_gray1, col_gray2 },
 | 
				
			||||||
 | 
						[SchemeWarn] = { col_gray4,  col_red,   col_gray2 },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* tagging */
 | 
					/* tagging */
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							@@ -59,7 +59,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* enums */
 | 
					/* enums */
 | 
				
			||||||
enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
 | 
					enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
 | 
				
			||||||
enum { SchemeNorm, SchemeSel }; /* color schemes */
 | 
					enum { SchemeNorm, SchemeSel, SchemeUrg, SchemeWarn }; /* color schemes */
 | 
				
			||||||
enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
 | 
					enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
 | 
				
			||||||
       NetWMFullscreen, NetActiveWindow, NetWMWindowType,
 | 
					       NetWMFullscreen, NetActiveWindow, NetWMWindowType,
 | 
				
			||||||
       NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */
 | 
					       NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user