From 26d8e9e006260611cd1daa556b42194612be69f5 Mon Sep 17 00:00:00 2001 From: Hekuran <62762955+narukeh@users.noreply.github.com> Date: Thu, 2 Apr 2020 13:09:54 +0200 Subject: [PATCH] memory statusbar with multilanguage support (#536) * for multilanguage support see issue number #535 * emoji --- .local/bin/statusbar/memory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/memory b/.local/bin/statusbar/memory index c1f704f..25a2958 100755 --- a/.local/bin/statusbar/memory +++ b/.local/bin/statusbar/memory @@ -6,4 +6,4 @@ case $BLOCK_BUTTON in - Click to show memory hogs." ;; esac -free -h | awk '/^Mem:/ {print "🧠", $3 "/" $2}' +free -h | sed -n '2{p;q}' | awk '{print "🧠", $3 "/" $2}'