Added waylock
This commit is contained in:
@@ -130,6 +130,7 @@ static const char *voldown[] = { "/home/irrlicht/scripts/volume.sh", "down
|
||||
static const char *volmute[] = { "/home/irrlicht/scripts/volume.sh", "mute", NULL };
|
||||
static const char *brigup[] = { "/home/irrlicht/scripts/brightness.sh", "up", NULL };
|
||||
static const char *brigdown[] = { "/home/irrlicht/scripts/brightness.sh", "down", NULL };
|
||||
static const char *lockcmd[] = { "waylock", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
/* Note that Shift changes certain key codes: 2 -> at, etc. */
|
||||
@@ -139,12 +140,11 @@ static const Key keys[] = {
|
||||
{ MODKEY, XKB_KEY_w, spawn, {.v = webbrowsercmd} },
|
||||
{ MODKEY, XKB_KEY_b, togglebar, {0} },
|
||||
{ MODKEY, XKB_KEY_q, killclient, {0} },
|
||||
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
|
||||
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
|
||||
{ MODKEY, XKB_KEY_j, setmfact, {.f = -0.05f} },
|
||||
{ MODKEY, XKB_KEY_k, setmfact, {.f = +0.05f} },
|
||||
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
|
||||
{ MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
|
||||
{ MODKEY, XKB_KEY_h, setmfact, {.f = -0.05f} },
|
||||
{ MODKEY, XKB_KEY_l, setmfact, {.f = +0.05f} },
|
||||
{ MODKEY, XKB_KEY_l, spawn, {.v = lockcmd} },
|
||||
{ MODKEY, XKB_KEY_Tab, view, {0} },
|
||||
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
|
||||
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
|
||||
|
||||
Reference in New Issue
Block a user