dot

joined 1 year ago
[–] dot@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago)

#fetch

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 ""
}