feat(client): store bar_id argument

pull/1244/head
Aleksei Bavshin 2021-11-19 20:28:41 -08:00
parent 5905078e56
commit 452dcaa5d3
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
2 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,7 @@ class Client {
struct zwp_idle_inhibit_manager_v1 *idle_inhibit_manager = nullptr; struct zwp_idle_inhibit_manager_v1 *idle_inhibit_manager = nullptr;
std::vector<std::unique_ptr<Bar>> bars; std::vector<std::unique_ptr<Bar>> bars;
Config config; Config config;
std::string bar_id;
private: private:
Client() = default; Client() = default;

View File

@ -199,7 +199,6 @@ int waybar::Client::main(int argc, char *argv[]) {
bool show_version = false; bool show_version = false;
std::string config_opt; std::string config_opt;
std::string style_opt; std::string style_opt;
std::string bar_id;
std::string log_level; std::string log_level;
auto cli = clara::detail::Help(show_help) | auto cli = clara::detail::Help(show_help) |
clara::detail::Opt(show_version)["-v"]["--version"]("Show version") | clara::detail::Opt(show_version)["-v"]["--version"]("Show version") |