Commit Graph

40 Commits

Author SHA1 Message Date
Alex
4a7dd400fe
Merge branch 'master' into on-update 2020-04-12 18:32:19 +02:00
Alex
b40cdcb5bd refactor: call parent update 2020-04-12 18:30:21 +02:00
Tudor Brindus
19743f3085 fix(memory): provide better free memory approximation on old kernels
The approximation should include SReclaimable, and subtract Shmem. To
prevent the parsing code from ballooning in size, this commit also
refactors the parsing into a map.
2020-03-20 17:37:22 -04:00
Jordi Pakey-Rodriguez
0f0765e517 feat(modules): call user on-update if configured 2019-12-05 14:42:36 -08:00
Nenad Stojanovikj
1b7068e61d Expose total memory to the formatting directive 2019-06-14 22:48:16 +02:00
Alex
d24d85bebf refactor: move label name and id to label contructor 2019-05-22 12:06:24 +02:00
RX14
6bf64cd04d
Allow formatting memory with used and available memory 2019-05-19 16:34:42 +01:00
Dan
5f0a3063d1 feat(states): add getState to other percent based modules 2019-05-02 22:24:29 -04:00
Alex
311c34ecbc feat(Bar): handle widget size changes 2019-04-24 12:37:24 +02:00
Alex
6ed8f94dab refactor: format code 2019-04-18 17:52:00 +02:00
Alex
83a6475510 feat: can disable tooltip 2019-02-22 11:35:47 +01:00
Alexis
b554094c7e feat: args && class id 2018-12-18 17:30:54 +01:00
Alexis
ad7400d5ce refactor(ALabel): add interval 2018-11-23 11:57:37 +01:00
Alexis
bd62c4cbc5 feat(Label): use set_markup 2018-11-21 20:49:09 +01:00
Alexis
45bb8b1a1f refactor: simpler memory code 2018-11-09 22:55:25 +01:00
Robinhuett
9ea0815dea Use ifstream to reaad /proc/meminfo 2018-11-09 16:24:13 +01:00
Robinhuett
6b62079d8a rewind stream instead of opening a new one 2018-11-09 00:17:30 +01:00
Robinhuett
ac0963c608 Use /proc/meminfo for Memory module 2018-11-08 21:09:56 +01:00
Alexis
3f269ff463 fix: check json::value type 2018-10-26 09:27:16 +02:00
dangerousdan
137c5fb712
fix custom intervals causing cpu to go mental 2018-10-23 00:06:46 +01:00
Alexis
0abaaf2f7f
style: fix 2018-09-10 11:16:57 +02:00
Alexis
53956d9d18
feat(ALabel): Toggleable labels 2018-08-27 01:36:25 +02:00
Alex
49232eed8d
Clean (#31) 2018-08-20 14:50:45 +02:00
Alexis
8ce33e0c64 fix(window): pick only con title 2018-08-19 20:37:33 +02:00
Alex
6705134034
Handle screens disconnection (#29) 2018-08-19 13:39:57 +02:00
Alexis
b1fd4d7b82 feat(modules): generic label module to allow max-length on all labels 2018-08-18 11:43:48 +02:00
Alex
d280f5e8bd
Network detect (#26) 2018-08-17 14:24:00 +02:00
Alex
6635548d3e
Style code (#25) 2018-08-16 14:29:41 +02:00
Alexis
e3e099f836 feat(workspaces): icons 2018-08-15 14:48:08 +02:00
Alexis
04183dc696 refactor(modules): prefer sigc::mem_fun 2018-08-11 02:40:13 +02:00
Alexis
2512d51564 fix(gtk): use idle to avoid mutex 2018-08-10 23:21:21 +02:00
Alexis
7ccb76935d feat: add pulseaudio module 2018-08-09 23:55:38 +02:00
Thomas Plaçais
7d3c0b0bb9 Clarify variable names and percentage formula in memory module 2018-08-09 21:47:28 +02:00
Thomas Plaçais
98060310c6 Fix formula used to compute RAM used and available 2018-08-09 21:14:20 +02:00
Alexis
03132bd219 feat: add tooltip to battery and memory 2018-08-09 17:30:23 +02:00
Alexis
b8917e9973 feat(config): interval for cpu and memory modules 2018-08-09 14:34:39 +02:00
Alexis
dc4e4860bd feat(config): format modules 2018-08-09 13:30:11 +02:00
Alexis
39a0ae04a8 feat: basic config file 2018-08-09 12:05:48 +02:00
Alexis
b987668f97 style: clean class 2018-08-09 10:50:16 +02:00
Alexis
17fc77cb5e feat: memory module 2018-08-09 01:42:52 +02:00