mirror of
				https://github.com/tiyn/dwm.git
				synced 2025-10-31 11:11:17 +01:00 
			
		
		
		
	changing colors
This commit is contained in:
		
							
								
								
									
										30
									
								
								config.def.h
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								config.def.h
									
									
									
									
									
								
							| @@ -8,28 +8,30 @@ static const unsigned int borderpx  = 1;        /* border pixel of windows */ | |||||||
| static const unsigned int snap      = 32;       /* snap pixel */ | static const unsigned int snap      = 32;       /* snap pixel */ | ||||||
| static const int showbar            = 1;        /* 0 means no bar */ | static const int showbar            = 1;        /* 0 means no bar */ | ||||||
| static const int topbar             = 1;        /* 0 means bottom bar */ | static const int topbar             = 1;        /* 0 means bottom bar */ | ||||||
| static const char *fonts[]          = { "monospace:size=10", "Noto Color Emoji:size=11" }; | static const char *fonts[]          = { "monospace:size=10" }; | ||||||
| static const char dmenufont[]       = "monospace:size=10"; | static const char dmenufont[]       = "monospace:size=10"; | ||||||
| static const char col_gray1[]       = "#222222"; | static const char normbgcolor[]     = "#0e0f14"; | ||||||
| static const char col_gray2[]       = "#444444"; | static const char normbordercolor[] = "#363b47"; | ||||||
| static const char col_gray3[]       = "#f7f7f7"; | static const char normfgcolor[]     = "#dfdfdf"; | ||||||
| static const char col_gray4[]       = "#000000"; | static const char selfgcolor[]      = "#eeeeee"; | ||||||
| static const char col_cyan[]        = "#dddddd"; | static const char selbordercolor[]  = "#555a63"; | ||||||
|  | static const char selbgcolor[]      = "#282828"; | ||||||
| static const char *colors[][3]      = { | static const char *colors[][3]      = { | ||||||
| 	/*               fg         bg         border   */ | 	/*               fg         bg         border   */ | ||||||
| 	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, | 	[SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor }, | ||||||
| 	[SchemeSel]  = { col_gray4, col_cyan,  col_gray3 }, | 	[SchemeSel]  = { selfgcolor, selbgcolor,  selbordercolor }, | ||||||
| }; | }; | ||||||
|  |  | ||||||
| /* tagging */ | /* tagging */ | ||||||
| static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; | static const char *tags[] = { "", "", "", "", "", "", "", "", "" }; | ||||||
| static const char *alttags[] = { "<1>", "<2>", "<3>", "<4>", "<5>", "<6>", "<7>", "<8>", "<9>" }; | static const char *alttags[] = { "", "", "", "", "", "", "", "", "" }; | ||||||
|  |  | ||||||
| static const Rule rules[] = { | static const Rule rules[] = { | ||||||
| 	/* xprop(1): | 	/* xprop(1): | ||||||
| 	 *	WM_CLASS(STRING) = instance, class | 	 *	WM_CLASS(STRING) = instance, class | ||||||
| 	 *	WM_NAME(STRING) = title | 	 *	WM_NAME(STRING) = title | ||||||
| 	 */ | 	 */ | ||||||
|  | 	/* class      instance    title       tags mask     iscentered     isfloating   monitor */ | ||||||
| 	{ NULL,								"de.uol.swp.client.ClientApp",		NULL,       0,            0,			 1,           -1 }, | 	{ NULL,								"de.uol.swp.client.ClientApp",		NULL,       0,            0,			 1,           -1 }, | ||||||
| }; | }; | ||||||
|  |  | ||||||
| @@ -40,10 +42,10 @@ static const int resizehints = 1;    /* 1 means respect size hints in tiled resi | |||||||
|  |  | ||||||
| static const Layout layouts[] = { | static const Layout layouts[] = { | ||||||
| 	/* symbol     arrange function */ | 	/* symbol     arrange function */ | ||||||
| 	{ "[M]",      monocle }, | 	{ "M",      monocle }, | ||||||
| 	{ "[]=",      tile },    /* first entry is default */ | 	{ "T",      tile },    /* first entry is default */ | ||||||
| 	{ "[D]",      deck }, | 	{ "D",      deck }, | ||||||
| 	{ "><>",      NULL },    /* no layout function means floating behavior */ | 	{ "F",      NULL },    /* no layout function means floating behavior */ | ||||||
| }; | }; | ||||||
|  |  | ||||||
| /* key definitions */ | /* key definitions */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user