diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -81,6 +81,7 @@ 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_white, "-sb", col_gray2, "-sf", col_white, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *dmenutab[] = { "alt-tab" }; +static const char *prtsccmd[] = { "prtsc" }; #include "movestack.c" static const Key keys[] = { @@ -128,6 +129,7 @@ static const Key keys[] = { /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static const Button buttons[] = { /* click event mask button function argument */ + { ClkRootWin, 0, Button2, spawn, {.v = prtsccmd} }, { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, |
