diff --git a/config.def.h b/config.def.h index 0f9cddb..ac1dccd 100644 --- a/config.def.h +++ b/config.def.h @@ -70,6 +70,9 @@ static char dmenumon[2] = "0"; /* component of dmenu{dark,light}, manipulated in static const char *dmenudark[] = { "dmenu_run", "-m", dmenumon, "-i", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *dmenulight[] = { "dmenu_run", "-m", dmenumon, "-i", "-fn", dmenufont, "-nb", col_gray3, "-nf", col_gray1, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; +static const char *lockcmd[] = { "slock", NULL }; +static const char *suspendcmd[] = { "systemctl", "suspend", NULL }; +static const char *themecmd[] = { "lupan-set-theme", "toggle", NULL }; #include "exitdwm.c" static const Key keys[] = { @@ -123,6 +126,10 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY|ControlMask|ShiftMask, XK_q, quit, {1} }, { MODKEY|ShiftMask, XK_e, exitdwm, {0} }, + { MODKEY|ControlMask|ShiftMask, XK_s, spawn, {.v = suspendcmd } }, + { MODKEY|ControlMask|ShiftMask, XK_l, spawn, {.v = lockcmd } }, + { MODKEY|ControlMask|ShiftMask, XK_t, spawn, {.v = themecmd } }, + }; /* button definitions */