Update dotfiles/.local/motd.sh, dotfiles/.local/dockerfunc.sh, dotfiles/.local/antigen.zsh

This commit is contained in:
Brian Zalewski 2022-10-28 19:34:31 +00:00
parent 2983a47753
commit a11873b099
3 changed files with 426 additions and 424 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
# Bash wrappers for docker run commands
# Source: https://github.com/jessfraz/dotfiles/blob/master/.dockerfunc

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
# shellcheck disable=SC1090,SC1091
BAR_ELEMENT="-"
@ -323,6 +323,7 @@ print_swap() {
}
print_diskspace() {
if type jq > /dev/null; then
printf "\\n"
printf " \\033[1;37mDiskspace:\\033[0m\\n"
@ -353,6 +354,7 @@ print_diskspace() {
generate_bar_disk "$DISKSPACE_ICON" "$diskspace_disk_size" "$diskspace_disk_used" "$diskspace_disk_mount"
done
fi
}
print_services() {