mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-13 22:42:33 +02:00
Adding options to allow disk outputs to always be in a specific unit
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user