Adding options to allow disk outputs to always be in a specific unit

This commit is contained in:
SWarrener
2023-10-08 16:24:50 +01:00
parent 58e506a675
commit c16e791cdc
2 changed files with 39 additions and 2 deletions

View File

@ -20,6 +20,9 @@ class Disk : public ALabel {
private:
util::SleeperThread thread_;
std::string path_;
std::string unit_;
float calc_specific_divisor(const std::string divisor);
};
} // namespace waybar::modules