change colour scheme, add rofi shortcut
This commit is contained in:
parent
95c8f4ef11
commit
531bc97df6
12
config.h
12
config.h
@ -11,11 +11,17 @@ static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
static const char col_gray3[] = "#bbbbbb";
|
||||
static const char col_gray4[] = "#eeeeee";
|
||||
static const char col_white[] = "#ffffff";
|
||||
static const char col_black[] = "#000000";
|
||||
static const char col_cyan[] = "#005577";
|
||||
static const char col_primary[] = "#f890e7";
|
||||
static const char col_text_primary[] = "#8b008b";
|
||||
static const char col_secondary[] = "#0bd3d3";
|
||||
static const char col_text_secondary[] = "#34495e";
|
||||
static const char *colors[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
||||
[SchemeNorm] = { col_text_primary, col_primary, col_primary },
|
||||
[SchemeSel] = { col_text_secondary, col_secondary, col_secondary },
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
@ -57,6 +63,7 @@ static const Layout layouts[] = {
|
||||
/* commands */
|
||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
||||
static const char *roficmd[] = { "rofi", "-show", "drun", NULL };
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
static const char *backlightupcmd[] = { "light", "-A", "5", NULL };
|
||||
static const char *backlightdowncmd[] = { "light", "-U", "5", NULL };
|
||||
@ -64,6 +71,7 @@ static const char *backlightdowncmd[] = { "light", "-U", "5", NULL };
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY, XK_e, spawn, {.v = roficmd } },
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
|
||||
Reference in New Issue
Block a user