feat: memory module

This commit is contained in:
Alexis
2018-08-09 01:42:52 +02:00
parent 81b5c37d86
commit 17fc77cb5e
4 changed files with 53 additions and 2 deletions

View File

@ -0,0 +1,20 @@
#pragma once
#include <gtkmm.h>
#include <fmt/format.h>
#include <sys/sysinfo.h>
#include <thread>
#include "util/chrono.hpp"
namespace waybar::modules {
class Memory {
public:
Memory();
operator Gtk::Widget &();
private:
Gtk::Label _label;
waybar::util::SleeperThread _thread;
};
}