Last active
November 13, 2020 15:48
-
-
Save mcpcpc/20c9b1ef9d8828b11f71df418cd2fd54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# tfetch | |
# a variation on Dylan Arap's pfetch and pfe | |
ramf="$(awk '/MemFree/ { printf "%.1f", $2/1024/1024 }' /proc/meminfo)" | |
ramt="$(awk '/MemTotal/ { printf "/%.1f GB", $2/1024/1024 }' /proc/meminfo)" | |
echo -e "" | |
echo -e " ( '> \033[1msince\033[0m: $(uptime -s)" | |
echo -e " (V) \033[1mram\033[0m: $ramf$ramt" | |
echo -e " <(__\\[ \033[1mkernel\033[0m: $(uname -r)" | |
echo -e "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment