fix: default separate-outputs to true
This commit is contained in:
@ -17,7 +17,7 @@ namespace waybar::modules::hyprland {
|
|||||||
WindowCount::WindowCount(const std::string& id, const Bar& bar, const Json::Value& config)
|
WindowCount::WindowCount(const std::string& id, const Bar& bar, const Json::Value& config)
|
||||||
: AAppIconLabel(config, "windowcount", id, "{count}", 0, true), bar_(bar) {
|
: AAppIconLabel(config, "windowcount", id, "{count}", 0, true), bar_(bar) {
|
||||||
modulesReady = true;
|
modulesReady = true;
|
||||||
separateOutputs_ = config["separate-outputs"].asBool();
|
separateOutputs_ = config.isMember("separate-outputs") ? config["separate-outputs"].asBool() : true;
|
||||||
|
|
||||||
if (!gIPC) {
|
if (!gIPC) {
|
||||||
gIPC = std::make_unique<IPC>();
|
gIPC = std::make_unique<IPC>();
|
||||||
|
Reference in New Issue
Block a user