Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions nerdfetch
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,16 @@ case $ostype in
esac
else
host="$(cat /proc/sys/kernel/hostname)"
. /etc/os-release
if [ -f /etc/os-release ]; then
. /etc/os-release
else
PRETTY_NAME="Unknown Linux"
ID="linux"
fi
if [ -f /bedrock/etc/bedrock-release ]; then
os="$(brl version)"
else
os="${PRETTY_NAME}"
os="${PRETTY_NAME:-Unknown Linux}"
if [ $font = nerd ]; then
case ${ID%% *} in
debian) osi="" ;;
Expand Down