mirror of
https://github.com/alrayyes/dwm
synced 2023-11-14 15:56:31 +00:00
bind slock to cmd+x
This commit is contained in:
parent
de5a7dd88b
commit
98e6628ab5
2
PKGBUILD
2
PKGBUILD
@ -34,7 +34,7 @@ source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
||||
"${_patches[@]}")
|
||||
|
||||
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
||||
'456a3571a825fdddfd61bfc2d3f9e1e9'
|
||||
'29c35b2e4ee1e0a1d8469b1b6a3ec258'
|
||||
'939f403a71b6e85261d09fc3412269ee'
|
||||
'31a7569d7f3d43846f59e854ec5d1da0'
|
||||
'fbb786263f2d714b18368ff64779d669'
|
||||
|
2
config.h
2
config.h
@ -148,12 +148,14 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
static const char scratchpadname[] = "scratchpad";
|
||||
static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL };
|
||||
static const char *slockcmd[] = { "slock" };
|
||||
|
||||
#include "selfrestart.c"
|
||||
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY, XK_x, spawn, {.v = slockcmd } },
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
|
Loading…
Reference in New Issue
Block a user