Fixed CPU usage and memory for i3blocks
This commit is contained in:
@@ -40,7 +40,7 @@ END {
|
||||
if (type == "swap")
|
||||
printf("%.1fG\n", (swap_total-swap_free)/1024/1024)
|
||||
else
|
||||
printf("%.1fG\n", mem_free/1024/1024)
|
||||
printf("%.1fG\n", (mem_total-mem_free)/1024/1024)
|
||||
|
||||
# TODO: short text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user