Added zram info

This commit is contained in:
2026-02-23 22:23:50 +03:00
parent e244affe6e
commit f71c630006
8 changed files with 154 additions and 52 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/bash
mapfile -t mem < <( free --mega)
mapfile -t mem < <( free --mega | tail -n +2)
IFS=$'\n' mem=($(sort <<<"${mem[*]}" | tail -n +2))
IFS=$'\n' mem=($(sort <<<"${mem[*]}"))
unset IFS
barWidth=38