From c5e830cd6031643eb8046c9f05145ad7a54f58ce Mon Sep 17 00:00:00 2001 From: Yauhen Kirylau Date: Tue, 13 Jun 2017 02:39:46 +0200 Subject: [PATCH] fix(awful: hotkeys_popup: keys): require all modules in init.lua --- awesomerc.lua | 5 +++-- lib/awful/hotkeys_popup/keys/init.lua | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/awesomerc.lua b/awesomerc.lua index 7b14754d..00d1b603 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -11,8 +11,9 @@ local beautiful = require("beautiful") local naughty = require("naughty") local menubar = require("menubar") local hotkeys_popup = require("awful.hotkeys_popup").widget --- Enable VIM help for hotkeys widget when client with matching name is opened: -require("awful.hotkeys_popup.keys.vim") +-- Enable hotkeys help widget for VIM and other apps +-- when client with a matching name is opened: +require("awful.hotkeys_popup.keys") -- {{{ Error handling -- @DOC_ERROR_HANDLING@ diff --git a/lib/awful/hotkeys_popup/keys/init.lua b/lib/awful/hotkeys_popup/keys/init.lua index cbcbb624..14a38c4b 100644 --- a/lib/awful/hotkeys_popup/keys/init.lua +++ b/lib/awful/hotkeys_popup/keys/init.lua @@ -8,7 +8,10 @@ local keys = { - vim = require("awful.hotkeys_popup.keys.vim") + vim = require("awful.hotkeys_popup.keys.vim"), + firefox = require("awful.hotkeys_popup.keys.firefox"), + tmux = require("awful.hotkeys_popup.keys.tmux"), + qutebrowser = require("awful.hotkeys_popup.keys.qutebrowser"), } return keys