• dot@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago
    nfetch() {
        echo ""
    	echo "$USER @ $(hostname)"
    	echo ""
    	echo "kernel : $(uname -r)"
    	echo "uptime : $(uptime -p)"
    	echo "pkgs   : $(dpkg -l | grep '^ii' | wc -l)"
    	echo "bat    : $(acpi -b | grep -Po '(?<=: ).*(?=,)' | tr -d '[:space:]') " 
    	# need to install acpi to run bat
    	echo ""
    }