mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat: battery states && format-full/charging
This commit is contained in:
@ -22,6 +22,8 @@ class Battery : public ALabel {
|
||||
static inline const fs::path data_dir_ = "/sys/class/power_supply/";
|
||||
|
||||
void worker();
|
||||
std::tuple<uint16_t, std::string> getInfos();
|
||||
std::string getState(uint16_t, bool);
|
||||
|
||||
util::SleeperThread thread_;
|
||||
util::SleeperThread threadTimer_;
|
||||
|
Reference in New Issue
Block a user