mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor: remove useless bar param
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
|
||||
namespace waybar::modules::sway {
|
||||
|
||||
Mode::Mode(const std::string& id, const Bar& bar, const Json::Value& config)
|
||||
: ALabel(config, "{}"), bar_(bar) {
|
||||
Mode::Mode(const std::string& id, const Json::Value& config)
|
||||
: ALabel(config, "{}") {
|
||||
label_.set_name("mode");
|
||||
if (!id.empty()) {
|
||||
label_.get_style_context()->add_class(id);
|
||||
|
Reference in New Issue
Block a user