abbiefetch/display_results.8

26 lines
477 B
Groff
Raw Permalink Normal View History

2024-11-12 17:53:59 +00:00
if [ "$subtype" = "none" ]; then
echo "$username@$hostname ($system_type)"
else
echo "$username@$hostname ($system_type/$subtype)"
fi
echo
if [ -n "$processor" ]; then
echo "cpu: $processor"
fi
if [ -n "$graphics" ]; then
echo "gpu: $graphics"
fi
if [ -n "$kernel" ]; then
echo "krn: $kernel"
fi
if [ -n "$distro" ]; then
2024-11-13 15:56:33 +00:00
if [ "$system_type" = "windows" ]; then
echo "sys:$distro"
else
echo "sys: $distro"
fi
2024-11-12 17:53:59 +00:00
fi
if [ -n "$machine" ]; then
echo "mac: $machine"
fi