diff options
| author | benj <benj@rse8.com> | 2021-06-16 17:54:38 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-06-16 17:57:44 -0700 |
| commit | 580682ff01096b3d40ba73a8d4dbf12c10993d39 (patch) | |
| tree | 05a17137d4c199a29c5326bfda06ae807d66aa5e /des/i3/i3blocks/scripts/memory | |
| parent | b50fec72ef7f20391da34d0fcdd17ee0ab1cc933 (diff) | |
| download | setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.tar setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.tar.gz setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.tar.bz2 setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.tar.lz setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.tar.xz setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.tar.zst setup-580682ff01096b3d40ba73a8d4dbf12c10993d39.zip | |
quite a few changes...many specific to an ad2 setup (to be weeded out)
Diffstat (limited to 'des/i3/i3blocks/scripts/memory')
| -rwxr-xr-x | des/i3/i3blocks/scripts/memory | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/des/i3/i3blocks/scripts/memory b/des/i3/i3blocks/scripts/memory index e28af4e..20cebdd 100755 --- a/des/i3/i3blocks/scripts/memory +++ b/des/i3/i3blocks/scripts/memory @@ -38,9 +38,9 @@ awk -v type=$TYPE ' END { # full text if (type == "swap") - printf("%.1fG\n", (swap_total-swap_free)/1024/1024) + printf(" %.1fG\n", (swap_total-swap_free)/1024/1024) else - printf("%.1fG\n", mem_free/1024/1024) + printf(" %.1fG\n", mem_free/1024/1024) # TODO: short text |
