commit 0ddd244960cd2e3e2567970a7cbe47942009e1c7
Author: Charbel Abi Daher <abidahercharbel_AT_gmail.com>
Date: Sun Aug 23 22:47:58 2020 +0300
Fixed shell script to show remaining memory instead of used
diff --git a/dwm.suckless.org/status_monitor/index.md b/dwm.suckless.org/status_monitor/index.md
index c242cd1f..d5671c54 100644
--- a/dwm.suckless.org/status_monitor/index.md
+++ b/dwm.suckless.org/status_monitor/index.md
_AT_@ -95,7 +95,7 @@ Helper Functions In The Shell
-----------------------------
* [posix scripts](
https://notabug.org/kl3/scripts) - basic collection of simple, fully POSIX sh compliant scripts to get various system information
* [i3blocks-contrib](
https://github.com/vivien/i3blocks-contrib) - collection of python, perl and shell scripts
-* Free memory: `free -h | awk '(NR==2){ print $3 }'`
+* Free memory: `free -h | awk '(NR==2){ print $4 }'`
* Volume (device Master): `amixer get Master | awk -F'[][]' 'END{ print $4":"$2 }'`
* Keyboard layout: `setxkbmap -query | awk '/layout/{ print $2 }'`
* Empty disk space (mountpoint /home): `df -h | awk '{ if ($6 == "/home") print $4 }'`
Received on Sun Aug 23 2020 - 21:48:06 CEST