Update dwm module after merge 3.7.0 version
This commit is contained in:
parent
6d42ccedd6
commit
e72993e14d
@ -10,7 +10,7 @@ POLYBAR_NS
|
|||||||
namespace modules {
|
namespace modules {
|
||||||
class dwm_module : public event_module<dwm_module> {
|
class dwm_module : public event_module<dwm_module> {
|
||||||
public:
|
public:
|
||||||
explicit dwm_module(const bar_settings&, string);
|
explicit dwm_module(const bar_settings&, string, const config&);
|
||||||
|
|
||||||
using tag_mask_t = unsigned int;
|
using tag_mask_t = unsigned int;
|
||||||
using window_t = unsigned int;
|
using window_t = unsigned int;
|
||||||
|
@ -15,7 +15,7 @@ POLYBAR_NS
|
|||||||
namespace modules {
|
namespace modules {
|
||||||
template class module<dwm_module>;
|
template class module<dwm_module>;
|
||||||
|
|
||||||
dwm_module::dwm_module(const bar_settings& bar, string name_) : event_module<dwm_module>(bar, move(name_)) {
|
dwm_module::dwm_module(const bar_settings& bar, string name_, const config& conf) : event_module<dwm_module>(bar, move(name_), conf) {
|
||||||
m_router->register_action_with_data(EVENT_LAYOUT_SET, [this](const std::string& data) { generic_action(EVENT_LAYOUT_SET,data); });
|
m_router->register_action_with_data(EVENT_LAYOUT_SET, [this](const std::string& data) { generic_action(EVENT_LAYOUT_SET,data); });
|
||||||
m_router->register_action_with_data(EVENT_TAG_VIEW, [this](const std::string& data) { generic_action(EVENT_TAG_VIEW,data);; });
|
m_router->register_action_with_data(EVENT_TAG_VIEW, [this](const std::string& data) { generic_action(EVENT_TAG_VIEW,data);; });
|
||||||
m_router->register_action_with_data(EVENT_TAG_TOGGLE_VIEW, [this](const std::string& data) { generic_action(EVENT_TAG_TOGGLE_VIEW,data); });
|
m_router->register_action_with_data(EVENT_TAG_TOGGLE_VIEW, [this](const std::string& data) { generic_action(EVENT_TAG_TOGGLE_VIEW,data); });
|
||||||
|
Loading…
Reference in New Issue
Block a user