mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-14 15:12:31 +02:00
refactor!: hyprland persistent workspaces config option name standardization
This commit is contained in:

committed by
Austin Horstman

parent
80de22a159
commit
44ac6b8044
@ -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) {
|
||||
|
Reference in New Issue
Block a user