Revert "feat(percent): adds a percent class to numeric modules"

This reverts commit 82302e58f3b611f7ff6d686d1783b1c32914f7c9.
This commit is contained in:
Dan
2019-05-02 21:39:45 -04:00
parent e158a3e132
commit 3bac96945c
6 changed files with 0 additions and 19 deletions

View File

@ -51,8 +51,6 @@ class Backlight : public ALabel {
const std::string preferred_device_;
static constexpr int EPOLL_MAX_EVENTS = 16;
std::string old_percent_;
std::optional<BacklightDev> previous_best_;
std::string previous_format_;

View File

@ -43,7 +43,6 @@ class Battery : public ALabel {
int fd_;
std::vector<int> wds_;
std::string old_status_;
std::string old_capacity_;
};
} // namespace waybar::modules

View File

@ -23,8 +23,6 @@ class Cpu : public ALabel {
std::tuple<uint16_t, std::string> getCpuUsage();
std::vector<std::tuple<size_t, size_t>> parseCpuinfo();
std::string old_usage_;
std::vector<std::tuple<size_t, size_t>> prev_times_;
waybar::util::SleeperThread thread_;
};