Skip to content

Commit dc64aaf

Browse files
committed
memory script update
1 parent b39d37c commit dc64aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: memory-noti.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

3-
mem=$(free -m | awk '/^Mem:/ {printf "Used Memory \t: %.2f GB\nTotal Memory \t: %.2f GB\n", $2/1024, $3/1024}')
3+
mem=$(free -m | awk '/^Mem:/ {printf "Total Memory \t: %.2f GB\nUsed Memory \t: %.2f GB\nFree memory \t: %.2f GB\n", $2/1024, $3/1024, $4/1024}')
44
dunstify "$mem" -u normal -t 5000 -r 9991 -i "$HOME/.local/share/icons/custom/memory.svg"

0 commit comments

Comments
 (0)