scripts/waybar/waybar-mem.sh

6 lines
162 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 | \
2023-01-06 19:41:31 +00:00
awk '{printf(\"%6s %6s %6s %6s\n\", $1, $2, $3, $4)}' | \
sed -r 's/(.*) shared$/ \1/'`"