mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
20 lines
431 B
C++
20 lines
431 B
C++
|
#include "group.hpp"
|
||
|
#include <fmt/format.h>
|
||
|
#include <util/command.hpp>
|
||
|
|
||
|
namespace waybar {
|
||
|
|
||
|
Group::Group(const std::string& name, const Bar& bar, const Json::Value& config)
|
||
|
: AModule(config, name, "", false, false),
|
||
|
box{bar.vertical ? Gtk::ORIENTATION_HORIZONTAL : Gtk::ORIENTATION_VERTICAL, 0}
|
||
|
{
|
||
|
}
|
||
|
|
||
|
auto Group::update() -> void {
|
||
|
// noop
|
||
|
}
|
||
|
|
||
|
Group::operator Gtk::Widget&() { return box; }
|
||
|
|
||
|
} // namespace waybar
|