Merge pull request #4975 from pix-code/master

memory: feature - add "unit" config option
This commit is contained in:
Alexis Rouillard
2026-04-07 12:45:24 +02:00
committed by GitHub
3 changed files with 62 additions and 26 deletions
+4
View File
@@ -19,9 +19,13 @@ class Memory : public ALabel {
private:
void parseMeminfo();
static float calc_divisor(const std::string& divisor);
std::unordered_map<std::string, unsigned long> meminfo_;
util::SleeperThread thread_;
std::string unit_;
};
} // namespace waybar::modules