feat(xkeyboard): New module
New module that uses the X keyboard extension to show keyboard layout and indicators. Ref #84, #200
This commit is contained in:
parent
6f6c5b7459
commit
608519363d
22 changed files with 617 additions and 132 deletions
src/components
|
@ -23,6 +23,7 @@
|
|||
#include "modules/temperature.hpp"
|
||||
#include "modules/text.hpp"
|
||||
#include "modules/xbacklight.hpp"
|
||||
#include "modules/xkeyboard.hpp"
|
||||
#include "modules/xwindow.hpp"
|
||||
#include "modules/xworkspaces.hpp"
|
||||
#include "utils/process.hpp"
|
||||
|
@ -400,6 +401,8 @@ void controller::bootstrap_modules() {
|
|||
module.reset(new temperature_module(bar, m_log, m_conf, module_name));
|
||||
} else if (type == "internal/xbacklight") {
|
||||
module.reset(new xbacklight_module(bar, m_log, m_conf, module_name));
|
||||
} else if (type == "internal/xkeyboard") {
|
||||
module.reset(new xkeyboard_module(bar, m_log, m_conf, module_name));
|
||||
} else if (type == "internal/xwindow") {
|
||||
module.reset(new xwindow_module(bar, m_log, m_conf, module_name));
|
||||
} else if (type == "internal/xworkspaces") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue