style: don't specify included namespaces
parent
d24d85bebf
commit
e999cca7a6
|
@ -69,8 +69,7 @@ bool waybar::ALabel::handleToggle(GdkEventButton* const& e) {
|
||||||
format = config_["on-click-forward"].asString();
|
format = config_["on-click-forward"].asString();
|
||||||
}
|
}
|
||||||
if (!format.empty()) {
|
if (!format.empty()) {
|
||||||
pid_.push_back(
|
pid_.push_back(util::command::forkExec(fmt::format(format, fmt::arg("arg", click_param))));
|
||||||
waybar::util::command::forkExec(fmt::format(format, fmt::arg("arg", click_param))));
|
|
||||||
}
|
}
|
||||||
if (config_["format-alt-click"].isUInt() && e->button == config_["format-alt-click"].asUInt()) {
|
if (config_["format-alt-click"].isUInt() && e->button == config_["format-alt-click"].asUInt()) {
|
||||||
alt_ = !alt_;
|
alt_ = !alt_;
|
||||||
|
@ -106,9 +105,9 @@ bool waybar::ALabel::handleScroll(GdkEventScroll* e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (direction_up && config_["on-scroll-up"].isString()) {
|
if (direction_up && config_["on-scroll-up"].isString()) {
|
||||||
pid_.push_back(waybar::util::command::forkExec(config_["on-scroll-up"].asString()));
|
pid_.push_back(util::command::forkExec(config_["on-scroll-up"].asString()));
|
||||||
} else if (config_["on-scroll-down"].isString()) {
|
} else if (config_["on-scroll-down"].isString()) {
|
||||||
pid_.push_back(waybar::util::command::forkExec(config_["on-scroll-down"].asString()));
|
pid_.push_back(util::command::forkExec(config_["on-scroll-down"].asString()));
|
||||||
}
|
}
|
||||||
dp.emit();
|
dp.emit();
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue