diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -66,6 +66,9 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont}; static const char *passmenucmd[] = { "passmenu", NULL}; static const char *termcmd[] = { "st", NULL }; +static const char *layoutmenu_cmd = { "layoutmenu", NULL }; +static const char *wallcmd[] = { "set_wallpaper", NULL }; +static const char *browser[] = { "firefox", NULL }; static const char *screenshot[] = {"scrot", "/home/genos/Pictures/Screenshots/%Y-%m-%d-%T-screenshot.png", NULL}; static Key keys[] = { @@ -85,8 +88,10 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_r, togglefloating, {0} }, { MODKEY, XK_t, setlayout, {0} }, { MODKEY, XK_space, spawn, {.v = dmenucmd } }, + { MODKEY|ShiftMask, XK_w, spawn, {.v = wallcmd } }, { MODKEY, XK_p, spawn, {.v = passmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_b, spawn, {.v = browser } }, { MODKEY, XK_Tab, view, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, @@ -116,7 +121,7 @@ static Key keys[] = { static Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, - { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, + { ClkLtSymbol, 0, Button3, layoutmenu, {0} }, { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, |