fix: id read and name set

This commit is contained in:
Ricardo Markiewicz
2026-04-08 23:36:47 +02:00
parent 01c6ebdf9e
commit 283515901e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
waybar::modules::CustomGraph::CustomGraph(const std::string& name, const std::string& id,
const Json::Value& config, const std::string& output_name)
: AGraph(config, "custom-graph" + name, id),
: AGraph(config, "custom-graph-" + name, id),
name_(name),
output_name_(output_name),
id_(id),