feat(xkeyboard): New module

New module that uses the X keyboard extension
to show keyboard layout and indicators.

Ref , 
This commit is contained in:
Michael Carlberg 2016-11-30 10:06:16 +01:00
parent 6f6c5b7459
commit 608519363d
22 changed files with 617 additions and 132 deletions
src/components

View file

@ -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") {