Mem free
1. 2. 2022free | grep Mem | awk '{ printf("mem free: %.0f%\n", $4/($3+$4) * 100.0) }
# returns
# mem free: 30%
With perc2 script
perc2 $(free | grep Mem | awk '{ printf("%.0f\n", $4/($3+$4) * 100.0) }') 100
# returns
# █████████████████████████████████████████████
in tint2, executor, numeral
#-------------------------------------
# Executor Mem
execp = new
execp_command = free | grep Mem | awk '{ printf("%.0f% mem free\n", $4/($3+$4) * 100.0) }'
execp_interval = 5
execp_has_icon = 0
execp_cache_icon = 0
execp_continuous = 0
execp_tooltip = mem free in percents
execp_padding = 0 0
execp_font = cuprum 12
execp_font_color = #111111 40
scrot, top left