scripts/waybar/waybar-mem.sh

6 lines
170 B
Bash
Raw Normal View History

2020-09-11 15:00:39 +00:00
#!/bin/bash
2022-06-06 17:58:30 +00:00
notify-send -t 0 'Memory Usage' "`free -h | \
2020-11-23 09:35:26 +00:00
awk '{printf(\"%6s %6s %6s %6s\n\", $1, $2, $3, $4)}' | \
sed -r 's/(.*) shared$/ \1/'`"