From 0eaaa5e42500c0a6428670c65cec7df98652ddd5 Mon Sep 17 00:00:00 2001 From: ArenaL5 Date: Wed, 19 Feb 2020 01:57:44 +0100 Subject: [PATCH] Fix the definition of keygroup arrows Also add a short comment about the format of keygroups. Signed-off-by: ArenaL5 --- lib/awful/key.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/awful/key.lua b/lib/awful/key.lua index 864dcf49..67b8c025 100644 --- a/lib/awful/key.lua +++ b/lib/awful/key.lua @@ -299,12 +299,14 @@ local function new_common(mod, _keys, press, release, data) end local keygroups = { + -- Left: the keycode in a format which regular awful.key understands. + -- Right: the argument of the function ran upon executing the key binding. numrow = {}, arrows = { {"Left" , "Left" }, {"Right" , "Right" }, - {"Top" , "Top" }, - {"Bottom", "Bottom"}, + {"Up" , "Up" }, + {"Down", "Down" }, } }