Update dotfiles/.local/motd.sh

This commit is contained in:
Brian Zalewski 2022-10-31 01:06:45 +00:00
parent e2ca9295fd
commit 03bc787d70

View file

@ -247,10 +247,10 @@ print_banner() {
fi
fi
banner_distro_space=$(generate_space "$banner_distro_name" 14)
banner_distro_space=$(generate_space "$banner_distro_name" 13)
if [ "$(hostname)" = 'dom0' ]; then
# Qubes dom0
banner_distro_space=$(generate_space "$NAME" 14)
banner_distro_space=$(generate_space "$NAME" 13)
printf " \\033[%sm%s %s\\033[0m%s%s\\n" "$banner_distro_color" "" "$NAME" "$banner_distro_space" "$VERSION"
else
printf " \\033[%sm%s %s\\033[0m%s%s\\n" "$banner_distro_color" "$banner_distro_icon" "$banner_distro_name" "$banner_distro_space" "$banner_distro_version"