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

committed by
Austin Horstman

parent
44ac6b8044
commit
4a6c1269fb
@ -80,8 +80,8 @@ void Workspaces::onCmd(const struct Ipc::ipc_response &res) {
|
||||
});
|
||||
|
||||
// adding persistent workspaces (as per the config file)
|
||||
if (config_["persistent_workspaces"].isObject()) {
|
||||
const Json::Value &p_workspaces = config_["persistent_workspaces"];
|
||||
if (config_["persistent-workspaces"].isObject()) {
|
||||
const Json::Value &p_workspaces = config_["persistent-workspaces"];
|
||||
const std::vector<std::string> p_workspaces_names = p_workspaces.getMemberNames();
|
||||
|
||||
for (const std::string &p_w_name : p_workspaces_names) {
|
||||
|
Reference in New Issue
Block a user