dotfiles/.local/scripts/0020_1_ram

9 lines
161 B
Plaintext
Raw Normal View History

2022-08-16 18:50:49 +08:00
#!/bin/bash
COLOR1="#C700FF"
COLOR2="#590073"
mem="$(free -h | awk '/Mem:/ {print $3 "/" $2}')"
echo "^b$COLOR1^^c$COLOR2^  ^c$COLOR1^^b$COLOR2^ $mem ^d^"