diff --git a/dotfiles/.local/motd.sh b/dotfiles/.local/motd.sh index 2eb761c6..2adb1fe6 100644 --- a/dotfiles/.local/motd.sh +++ b/dotfiles/.local/motd.sh @@ -209,14 +209,12 @@ print_banner() { else printf "\\n" printf " \\033[1;37mHostname:\\033[0m %s\\n" "$(hostname)" - printf "\\n" fi elif command -v figlet >/dev/null; then printf "\\n%s\\n" "$(figlet -t -f "$BANNER_FONTPATH" " $BANNER_TEXT")" else printf "\\n" printf " \\033[1;37mHostname:\\033[0m %s\\n" "$(hostname)" - printf "\\n" fi if [ -f /etc/os-release ]; then diff --git a/dotfiles/.profile b/dotfiles/.profile index e895d14a..f0ee5917 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -106,18 +106,18 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$0" = 'zsh' ] || [ "$0" = ' # TODO - -- services if [ -n "$SSH_CONNECTION" ]; then # SSH - bash_motd --banner --processor --memory --diskspace --services --docker --updates --letsencrypt --login + bash_motd --banner --processor --memory --diskspace --docker --updates --letsencrypt --login elif command -v qubes-vmexec > /dev/null; then # Qubes AppVM - bash_motd --banner --memory --diskspace --docker --updates --services + bash_motd --banner --memory --diskspace --docker --updates elif command -v qubes-dom0-update > /dev/null; then # Qubes dom0 - bash_motd --banner --updates --services + bash_motd --banner --updates elif [ -d /Applications ] && [ -d /System ]; then # macOS bash_motd --banner else - bash_motd --banner --processor --memory --diskspace --services --docker --updates --letsencrypt --login + bash_motd --banner --processor --memory --diskspace --docker --updates --letsencrypt --login fi fi fi