diff options
Diffstat (limited to 'dwm/config.h')
| -rwxr-xr-x | dwm/config.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dwm/config.h b/dwm/config.h index 9cb8b09..73098dd 100755 --- a/dwm/config.h +++ b/dwm/config.h @@ -60,14 +60,15 @@ 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 *webcmd[] = { "waterfox", NULL }; -static const char *lockcmd[] = { "xlock", "-mode", "$(shuf -e spiral space helix grav -n 1)" }; +static const char *xlockmodes[] = { "spiral", "space", "helix", "grav" }; +static const char *lockcmd[] = { "xlock", "-mode", NULL, NULL }; static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_d, spawn, {.v = dmenucmd } }, - { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_g, spawn, {.v = webcmd } }, - { MODKEY|ShiftMask, XK_x, spawn, {.v = lockcmd } }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_g, spawn, {.v = webcmd } }, + { MODKEY|ShiftMask, XK_x, spawnlock, {0} }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, |
