Skip to content

Instantly share code, notes, and snippets.

@cheeesy
cheeesy / fetch
Created July 6, 2020 20:12 — forked from Kodehawa/fetch
Simple Arch Linux fetch script.
#!/bin/bash
bold=$(tput bold)
normal=$(tput sgr0)
#thanks pfetch guy
while IFS=':k ' read -r key val _; do
case $key in
MemTotal)
mem_used=$((mem_used + val))