refactor: Fwd declare drawtypes

Ref #164
This commit is contained in:
Michael Carlberg
2016-11-19 15:49:03 +01:00
parent 38f9ba81cd
commit 88c8bbd940
32 changed files with 110 additions and 84 deletions

View File

@ -2,9 +2,16 @@
#include "modules/i3.hpp"
#include "drawtypes/iconset.hpp"
#include "drawtypes/label.hpp"
POLYBAR_NS
namespace modules {
i3_workspace::operator bool() {
return label && *label;
}
void i3_module::setup() { // {{{
// Load configuration values
GET_CONFIG_VALUE(name(), m_click, "enable-click");