2021-10-31 23:55:13 +01:00
|
|
|
#include "group.hpp"
|
2022-04-06 08:37:19 +02:00
|
|
|
|
2021-10-31 23:55:13 +01:00
|
|
|
#include <fmt/format.h>
|
2022-04-06 08:37:19 +02:00
|
|
|
|
2021-10-31 23:55:13 +01:00
|
|
|
#include <util/command.hpp>
|
|
|
|
|
|
|
|
namespace waybar {
|
|
|
|
|
|
|
|
Group::Group(const std::string& name, const Bar& bar, const Json::Value& config)
|
|
|
|
: AModule(config, name, "", false, false),
|
2022-04-06 08:37:19 +02:00
|
|
|
box{bar.vertical ? Gtk::ORIENTATION_HORIZONTAL : Gtk::ORIENTATION_VERTICAL, 0} {}
|
2021-10-31 23:55:13 +01:00
|
|
|
|
|
|
|
auto Group::update() -> void {
|
|
|
|
// noop
|
|
|
|
}
|
|
|
|
|
|
|
|
Group::operator Gtk::Widget&() { return box; }
|
|
|
|
|
|
|
|
} // namespace waybar
|