Update dotfiles/.local/motd.sh

This commit is contained in:
Brian Zalewski 2022-10-28 19:38:42 +00:00
parent 10a5d89f12
commit 38bec024fb

View file

@ -323,7 +323,7 @@ print_swap() {
} }
print_diskspace() { print_diskspace() {
if type jq > /dev/null; then if command -v jq > /dev/null; then
printf "\\n" printf "\\n"
printf " \\033[1;37mDiskspace:\\033[0m\\n" printf " \\033[1;37mDiskspace:\\033[0m\\n"
@ -399,7 +399,7 @@ print_services() {
} }
print_podman() { print_podman() {
if type jq > /dev/null; then if command -v jq > /dev/null; then
printf "\\n" printf "\\n"
printf " \\033[1;37mPodman:\\033[0m\\n" printf " \\033[1;37mPodman:\\033[0m\\n"
@ -441,7 +441,7 @@ print_podman() {
} }
print_docker() { print_docker() {
if type jq > /dev/null && [ "$(systemctl is-active docker.service)" = "active" ]; then if command -v jq > /dev/null && [ "$(systemctl is-active docker.service)" = "active" ]; then
printf "\\n" printf "\\n"
printf " \\033[1;37mDocker:\\033[0m\\n" printf " \\033[1;37mDocker:\\033[0m\\n"