style(custom): apply format and tidy cleanups
Run clang-format on the changed C++ files and fix the clang-tidy findings introduced by the custom command migration. The only codegen-relevant change here is switching the new res assignments in custom.cpp to designated initializers. The rest is formatting only. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
committed by
Austin Horstman
parent
fc01c03a20
commit
f987c24144
@@ -33,8 +33,7 @@ auto run_stream_command(const std::string& cmd) -> StreamResult {
|
||||
3000);
|
||||
|
||||
waybar::util::command::LineStream stream(
|
||||
"",
|
||||
[&](const std::string& line) { result.lines.push_back(line); },
|
||||
"", [&](const std::string& line) { result.lines.push_back(line); },
|
||||
[&](int exit_code) {
|
||||
result.exit_code = exit_code;
|
||||
loop->quit();
|
||||
|
||||
Reference in New Issue
Block a user