Update dotfiles/.local/motd.sh, dotfiles/.local/dockerfunc.sh, dotfiles/.local/antigen.zsh
This commit is contained in:
parent
2983a47753
commit
a11873b099
3 changed files with 426 additions and 424 deletions
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Bash wrappers for docker run commands
|
# Bash wrappers for docker run commands
|
||||||
# Source: https://github.com/jessfraz/dotfiles/blob/master/.dockerfunc
|
# Source: https://github.com/jessfraz/dotfiles/blob/master/.dockerfunc
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env sh
|
||||||
# shellcheck disable=SC1090,SC1091
|
# shellcheck disable=SC1090,SC1091
|
||||||
|
|
||||||
BAR_ELEMENT="-"
|
BAR_ELEMENT="-"
|
||||||
|
@ -323,6 +323,7 @@ print_swap() {
|
||||||
}
|
}
|
||||||
|
|
||||||
print_diskspace() {
|
print_diskspace() {
|
||||||
|
if type jq > /dev/null; then
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
printf " \\033[1;37mDiskspace:\\033[0m\\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"
|
generate_bar_disk "$DISKSPACE_ICON" "$diskspace_disk_size" "$diskspace_disk_used" "$diskspace_disk_mount"
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
print_services() {
|
print_services() {
|
||||||
|
|
Loading…
Reference in a new issue