diff options
| author | MineralwaterXu <[email protected]> | 2020-11-30 22:59:16 +0800 |
|---|---|---|
| committer | MineralwaterXu <[email protected]> | 2020-11-30 22:59:16 +0800 |
| commit | 844de2661e4b71f2b582e7711fdd51edd3533831 (patch) | |
| tree | e4eaa4abd8ad9ed42793144d3575939e99199ee6 /config.h | |
| parent | 2ebb2f57717ce066d2fe146dca1ad3a60caec85d (diff) | |
changed some keybindings
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -16,8 +16,9 @@ static const char dmenufont[] = "Source Code Pro:size=16"; 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_cyan[] = "#005577"; +static const char col_gray4[] = "#ffffff"; +static const char col_cyan[] = "#37474F"; +static const char col_border[] = "#42A5F5"; static const unsigned int baralpha = 0xd0; static const unsigned int borderalpha = OPAQUE; static const char *colors[][3] = { @@ -74,7 +75,7 @@ static const Layout layouts[] = { }; /* key definitions */ -#define MODKEY Mod1Mask +#define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ @@ -88,12 +89,14 @@ static const Layout layouts[] = { 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 *termcmd[] = { "st", NULL }; +static const char *browsercmd[] = { "firefox", NULL }; static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_c, spawn, {.v = browsercmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY|ShiftMask, XK_j, rotatestack, {.i = +1 } }, { MODKEY|ShiftMask, XK_k, rotatestack, {.i = -1 } }, @@ -121,7 +124,7 @@ static Key keys[] = { { MODKEY|Mod4Mask, XK_o, incrohgaps, {.i = -1 } }, { MODKEY|ShiftMask, XK_y, incrovgaps, {.i = +1 } }, { MODKEY|ShiftMask, XK_o, incrovgaps, {.i = -1 } }, - { MODKEY, XK_Return, zoom, {0} }, + { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, |
