mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 11:05:18 +00:00
Fix $memgraph (i think)
This commit is contained in:
parent
e24bc153b3
commit
24ebff6a62
@ -515,7 +515,7 @@ uint8_t mem_barval(struct text_object *obj)
|
|||||||
{
|
{
|
||||||
(void)obj;
|
(void)obj;
|
||||||
|
|
||||||
return round_to_int(info.memmax ? (info.mem * 255 / info.memmax) : 0);
|
return round_to_int(info.memmax ? (info.mem * 100 / info.memmax) : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t swap_percentage(struct text_object *obj)
|
uint8_t swap_percentage(struct text_object *obj)
|
||||||
|
Loading…
Reference in New Issue
Block a user