diff options
| -rw-r--r-- | config.h | 16 | ||||
| -rw-r--r-- | dwm.c | 2 | 
2 files changed, 12 insertions, 6 deletions
@@ -8,19 +8,21 @@ static const unsigned int borderpx  = 1;        /* border pixel of windows */  static const unsigned int snap      = 32;       /* snap pixel */  static const int showbar            = 1;        /* 0 means no bar */  static const int topbar             = 1;        /* 0 means bottom bar */ -static const char *fonts[]          = { "Terminus:size=9", "monospace:size=9" }; -static const char dmenufont[]       = "Terminus:size=9"; +static const char *fonts[]          = { "Terminus:size=11", "monospace:size=11" }; +static const char dmenufont[]       = "Terminus:size=11";  static const char col_white[]       = "#ffffff";  static const char col_black[]       = "#000000";  static const char col_gray[]        = "#666666"; +static const char col_lightgray[]   = "#cccccc";  static const char col_red[]         = "#ff0000";  static const char col_yellow[]      = "#ffff00";  static const char *colors[][3]      = {  	/*               fg         bg         border   */  	[SchemeNorm] = { col_white, col_black, col_gray }, -	[SchemeSel]  = { col_black, col_white,  col_white  }, -	[SchemeWarn] =	 { col_black, col_yellow, col_yellow }, -	[SchemeUrgent]=	 { col_white, col_red,    col_red }, +	[SchemeSel] = { col_black, col_white,  col_white  }, +	[SchemeWarn] = { col_black, col_yellow, col_yellow }, +	[SchemeUrgent] = { col_white, col_red,    col_red }, +	[SchemeNotif] = { col_black, col_lightgray,  col_white  },  };  /* tagging */ @@ -76,6 +78,8 @@ static const char *light_decrease_cmd[] = { ".bin/ag-light", "dec", NULL };  static const char *dock_cmd[] = { ".bin/dock", NULL };  static const char *lock_suspend_cmd[] = { ".bin/ag-lock", "-s", NULL };  static const char *lock_cmd[] = { ".bin/ag-lock", NULL }; +static const char *pass_dmenu_show_cmd[] = { ".bin/ag-pass-dmenu", "show", NULL }; +static const char *pass_dmenu_totp_cmd[] = { ".bin/ag-pass-dmenu", "totp", NULL };  static Key keys[] = {  	/* modifier                     key        function        argument */ @@ -122,6 +126,8 @@ static Key keys[] = {  	{ MODKEY,                       XK_F12,    spawn,          {.v = lock_cmd } },  	{ MODKEY,                       XK_Return, spawn,          {.v = termcmd } },  	{ MODKEY,                       XK_d,      spawn,          {.v = dmenucmd } }, +	{ MODKEY,                       XK_p,      spawn,          {.v = pass_dmenu_show_cmd } }, +	{ MODKEY,                       XK_o,      spawn,          {.v = pass_dmenu_totp_cmd } },  	/* tags */  	TAGKEYS(                        XK_1,                      0)  	TAGKEYS(                        XK_2,                      1) @@ -58,7 +58,7 @@  /* enums */  enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ -enum { SchemeNorm, SchemeSel, SchemeWarn, SchemeUrgent }; /* color schemes */ +enum { SchemeNorm, SchemeSel, SchemeWarn, SchemeUrgent, SchemeNotif }; /* color schemes */  enum { NetSupported, NetWMName, NetWMState, NetWMCheck,         NetWMFullscreen, NetActiveWindow, NetWMWindowType,         NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */  |