Add poweroff & restart commands
This commit is contained in:
parent
34265b40bf
commit
aa5b6090f8
|
@ -105,10 +105,14 @@ static const char *dmenucmd[] = { "dmenu_run",
|
|||
NULL };
|
||||
static const char *termcmd[] = { "alacritty", NULL };
|
||||
static const char *togglelang[] = { "/home/vtimofei/scripts/toggle-language", NULL };
|
||||
static const char *poweroff[] = { "/home/vtimofei/scripts/poweroff", NULL };
|
||||
static const char *reboot[] = { "/home/vtimofei/scripts/reboot", NULL };
|
||||
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY|ShiftMask, XK_p, spawn, {.v = poweroff } },
|
||||
{ MODKEY|ShiftMask, XK_r, spawn, {.v = reboot } },
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
|
|
Loading…
Reference in New Issue