mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
21 lines
317 B
C++
21 lines
317 B
C++
#pragma once
|
|
|
|
#include <gtkmm.h>
|
|
#include <fmt/format.h>
|
|
#include <sys/sysinfo.h>
|
|
#include <thread>
|
|
#include "util/chrono.hpp"
|
|
|
|
namespace waybar::modules {
|
|
|
|
class Cpu {
|
|
public:
|
|
Cpu();
|
|
operator Gtk::Widget &();
|
|
private:
|
|
Gtk::Label _label;
|
|
waybar::util::SleeperThread _thread;
|
|
};
|
|
|
|
}
|