diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-02-02 18:41:34 +0000 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-02-02 18:41:34 +0000 |
| commit | ec8ff8b83c9b306cc36ab04490c6c6c405b8321d (patch) | |
| tree | 0d372d6439d47e6104e3d5b8223a90b53596c839 /dwm/config.h | |
| parent | ebe221aa143ed7e7a75183f2560d099443d84feb (diff) | |
Patched in xlock with selected modes
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 } }, |
