diff options
Diffstat (limited to '.config/tmux/right-status.sh')
| -rwxr-xr-x | .config/tmux/right-status.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/tmux/right-status.sh b/.config/tmux/right-status.sh index e806570..82502c4 100755 --- a/.config/tmux/right-status.sh +++ b/.config/tmux/right-status.sh @@ -7,7 +7,7 @@ function memory-usage() { # Calculate the percentage of memory used with bc. percent=$(bc -l <<< "100 * $total / $used") # Feed the variables into awk and print the values with formating. - awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% ", t, u, p}' + awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%s/%s Mem %.1f% ", t, u, p}' fi } |
