refactor!: wlr persistent workspaces config rename
This commit is contained in:
parent
4a6c1269fb
commit
b405dc436c
|
@ -209,8 +209,8 @@ WorkspaceGroup::WorkspaceGroup(const Bar &bar, Gtk::Box &box, const Json::Value
|
||||||
}
|
}
|
||||||
|
|
||||||
auto WorkspaceGroup::fill_persistent_workspaces() -> void {
|
auto WorkspaceGroup::fill_persistent_workspaces() -> void {
|
||||||
if (config_["persistent_workspaces"].isObject() && !workspace_manager_.all_outputs()) {
|
if (config_["persistent-workspaces"].isObject() && !workspace_manager_.all_outputs()) {
|
||||||
const Json::Value &p_workspaces = config_["persistent_workspaces"];
|
const Json::Value &p_workspaces = config_["persistent-workspaces"];
|
||||||
const std::vector<std::string> p_workspaces_names = p_workspaces.getMemberNames();
|
const std::vector<std::string> p_workspaces_names = p_workspaces.getMemberNames();
|
||||||
|
|
||||||
for (const std::string &p_w_name : p_workspaces_names) {
|
for (const std::string &p_w_name : p_workspaces_names) {
|
||||||
|
|
Loading…
Reference in New Issue