diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 06:06:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 06:06:27 +0900 |
| commit | eeaa5670e9bbf54af3f5577f6631a72fb3d562de (patch) | |
| tree | 823ddf2e88b07c97592b9b9d776f6db1d6a97265 /ar/.local/bin/statusbar/sb-memory | |
| parent | b15632ee7226179d9b7a40f8626f55eed29c92c3 (diff) | |
updates
Diffstat (limited to 'ar/.local/bin/statusbar/sb-memory')
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-memory | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/statusbar/sb-memory b/ar/.local/bin/statusbar/sb-memory index 01eb0e6..3c9dd03 100755 --- a/ar/.local/bin/statusbar/sb-memory +++ b/ar/.local/bin/statusbar/sb-memory @@ -16,9 +16,9 @@ nvme_temp=$(sensors 2>/dev/null | if [ -n "$width" ] && [ "$width" -eq "$width" ] 2>/dev/null; then if [ "$width" -lt 1920 ]; then free --mebi | sed -n '2{p;q}' | - awk -v t="$nvme_temp" '{printf "š¾%s° š%d%%\n", t, ($3/$2)*100+0.5}' + awk -v t="$nvme_temp" '{printf "š”%s° š%d%%\n", t, ($3/$2)*100+0.5}' else free --mebi | sed -n '2{p;q}' | - awk -v t="$nvme_temp" '{printf "š¾%s° š%dGB/%dGB", t, $3/1000+0.5, $2/1000+0.5}' + awk -v t="$nvme_temp" '{printf "š”%s° š%dGB/%dGB", t, $3/1000+0.5, $2/1000+0.5}' fi fi |
