From c0c083bf7dea1cdca82b7d2d87481053e2c7cb2c Mon Sep 17 00:00:00 2001 From: getzze Date: Thu, 2 Feb 2017 21:44:24 +0000 Subject: [PATCH] hotkeys_popup: add custom keys to existing groups (#1504) --- lib/awful/hotkeys_popup/widget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/hotkeys_popup/widget.lua b/lib/awful/hotkeys_popup/widget.lua index 5a0e0a8c..4953b362 100644 --- a/lib/awful/hotkeys_popup/widget.lua +++ b/lib/awful/hotkeys_popup/widget.lua @@ -227,7 +227,7 @@ function widget.new() local max_height_px = height - group_label_height local column_layouts = {} for _, group in ipairs(available_groups) do - local keys = cached_awful_keys[group] or widget_instance.additional_hotkeys[group] + local keys = awful.util.table.join(cached_awful_keys[group], widget_instance.additional_hotkeys[group]) local joined_descriptions = "" for i, key in ipairs(keys) do joined_descriptions = joined_descriptions .. key.description .. (i~=#keys and "\n" or "")