mirror of
https://github.com/polybar/polybar.git
synced 2026-02-12 06:25:44 +00:00
fix(bar): Only initialize config values when using --print-wmname
This commit is contained in:
@ -110,7 +110,7 @@ int main(int argc, char** argv) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
if (cli->has("print-wmname")) {
|
||||
std::cout << bar::make()->settings().wmname << std::endl;
|
||||
std::cout << bar::make(true)->settings().wmname << std::endl;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user