edit: sb-memory script
This commit is contained in:
parent
287878eaf7
commit
21cc83966a
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ case $BLOCK_BUTTON in
|
||||||
3) notify-send "🧠 Memory module" "\- Shows Memory Used/Total.
|
3) notify-send "🧠 Memory module" "\- Shows Memory Used/Total.
|
||||||
- Click to show memory hogs.
|
- Click to show memory hogs.
|
||||||
- Middle click to open htop." ;;
|
- Middle click to open htop." ;;
|
||||||
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
free --mebi | sed -n '2{p;q}' | awk '{printf ("🧠%2.2fGiB/%2.2fGiB\n", ( $3 / 1024), ($2 / 1024))}'
|
free --mebi | sed -n '2{p;q}' | awk '{printf ("🧠%2.2f/%2.2fGb\n", ( $3 / 1024), ($2 / 1024))}'
|
||||||
|
|
Loading…
Reference in a new issue