mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Now shows the percentage and the correct icon
This commit is contained in:
@ -29,12 +29,15 @@ class UPower : public AModule {
|
||||
void addDevice(UpDevice *device);
|
||||
void setDisplayDevice();
|
||||
void resetDevices();
|
||||
static void clicked();
|
||||
|
||||
Gtk::Box box_;
|
||||
Gtk::Image icon_;
|
||||
Gtk::Label label_;
|
||||
|
||||
// Config
|
||||
bool hideIfEmpty = true;
|
||||
uint iconSize = 32;
|
||||
|
||||
UpClient *client = NULL;
|
||||
UpDevice *displayDevice = NULL;
|
||||
std::map<std::string, UpDevice *> devices;
|
||||
|
Reference in New Issue
Block a user