chore: format
Some unrelated files failed formatting. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@ -172,8 +172,6 @@ inline int32_t forkExec(const std::string& cmd, const std::string& output_name)
|
|||||||
return pid;
|
return pid;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int32_t forkExec(const std::string& cmd) {
|
inline int32_t forkExec(const std::string& cmd) { return forkExec(cmd, ""); }
|
||||||
return forkExec(cmd, "");
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace waybar::util::command
|
} // namespace waybar::util::command
|
||||||
|
|||||||
@ -237,9 +237,7 @@ void Window::queryActiveWorkspace() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::onEvent(const std::string& ev) {
|
void Window::onEvent(const std::string& ev) { dp.emit(); }
|
||||||
dp.emit();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Window::setClass(const std::string& classname, bool enable) {
|
void Window::setClass(const std::string& classname, bool enable) {
|
||||||
if (enable) {
|
if (enable) {
|
||||||
|
|||||||
@ -38,7 +38,7 @@ WindowCount::~WindowCount() {
|
|||||||
|
|
||||||
auto WindowCount::update() -> void {
|
auto WindowCount::update() -> void {
|
||||||
std::lock_guard<std::mutex> lg(mutex_);
|
std::lock_guard<std::mutex> lg(mutex_);
|
||||||
|
|
||||||
queryActiveWorkspace();
|
queryActiveWorkspace();
|
||||||
|
|
||||||
std::string format = config_["format"].asString();
|
std::string format = config_["format"].asString();
|
||||||
@ -125,9 +125,7 @@ void WindowCount::queryActiveWorkspace() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowCount::onEvent(const std::string& ev) {
|
void WindowCount::onEvent(const std::string& ev) { dp.emit(); }
|
||||||
dp.emit();
|
|
||||||
}
|
|
||||||
|
|
||||||
void WindowCount::setClass(const std::string& classname, bool enable) {
|
void WindowCount::setClass(const std::string& classname, bool enable) {
|
||||||
if (enable) {
|
if (enable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user