Merge pull request #305 from FreeGeronimo/fix-free-language-output

Set system locale to international
This commit is contained in:
Luke Smith 2019-05-20 11:38:05 -04:00 committed by GitHub
commit 835f095fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,4 +6,7 @@ case $BLOCK_BUTTON in
- Click to show memory hogs." ;; - Click to show memory hogs." ;;
esac esac
free -h | awk '/^Mem:/ {print $3 "/" $2}' # Set language to international or otherwise 'free' will output in the current
# system language
LC_ALL=C free -h | awk '/^Mem:/ {print $3 "/" $2}'