diff options
| author | Hekuran <62762955+narukeh@users.noreply.github.com> | 2020-04-02 13:09:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-02 07:09:54 -0400 |
| commit | 26d8e9e006260611cd1daa556b42194612be69f5 (patch) | |
| tree | 3f8c8daddba346071c77a90f692211410a9e8126 /.local | |
| parent | 22ff37646c3088dd2db78082fa175ae14f581cde (diff) | |
| download | eibhear-26d8e9e006260611cd1daa556b42194612be69f5.tar.gz eibhear-26d8e9e006260611cd1daa556b42194612be69f5.tar.zst eibhear-26d8e9e006260611cd1daa556b42194612be69f5.zip | |
memory statusbar with multilanguage support (#536)
* for multilanguage support
see issue number #535
* emoji
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/statusbar/memory | 2 |
1 files changed, 1 insertions, 1 deletions
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}' |
