mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
75cf1d70fd
feat(wip): tray feat(wip): tray feat(WIP): gdbus feat(WIP): tray
35 lines
661 B
C++
35 lines
661 B
C++
#pragma once
|
|
|
|
#include <json/json.h>
|
|
#include "modules/clock.hpp"
|
|
#ifdef HAVE_SWAY
|
|
#include "modules/sway/workspaces.hpp"
|
|
#include "modules/sway/window.hpp"
|
|
#endif
|
|
#include "modules/battery.hpp"
|
|
#include "modules/memory.hpp"
|
|
#include "modules/cpu.hpp"
|
|
#include "modules/sni/tray.hpp"
|
|
#ifdef HAVE_LIBNL
|
|
#include "modules/network.hpp"
|
|
#endif
|
|
#ifdef HAVE_LIBPULSE
|
|
#include "modules/pulseaudio.hpp"
|
|
#endif
|
|
#include "modules/custom.hpp"
|
|
|
|
namespace waybar {
|
|
|
|
class Bar;
|
|
|
|
class Factory {
|
|
public:
|
|
Factory(Bar& bar, const Json::Value& config);
|
|
IModule* makeModule(const std::string &name) const;
|
|
private:
|
|
Bar& bar_;
|
|
const Json::Value& config_;
|
|
};
|
|
|
|
}
|