refactor!: hyprland persistent workspaces config option name standardization

This commit is contained in:
khaneliman
2023-09-05 13:10:34 -05:00
committed by Austin Horstman
parent 80de22a159
commit 44ac6b8044
2 changed files with 4 additions and 4 deletions

View File

@ -231,8 +231,8 @@ void Workspaces::remove_workspace(std::string name) {
}
void Workspaces::fill_persistent_workspaces() {
if (config_["persistent_workspaces"].isObject()) {
const Json::Value persistent_workspaces = config_["persistent_workspaces"];
if (config_["persistent-workspaces"].isObject()) {
const Json::Value persistent_workspaces = config_["persistent-workspaces"];
const std::vector<std::string> keys = persistent_workspaces.getMemberNames();
for (const std::string &key : keys) {