general: Add neofetch version to verbose output.

This commit is contained in:
dylan araps 2017-12-13 11:30:17 +11:00
parent ed05c6460b
commit 9b5d75907b
1 changed files with 2 additions and 1 deletions

View File

@ -4764,8 +4764,9 @@ main() {
# Take a screenshot. # Take a screenshot.
[[ "$scrot" == "on" ]] && take_scrot [[ "$scrot" == "on" ]] && take_scrot
# Add neofetch command to verbose output. # Add neofetch info to verbose output.
err "Neofetch command: $0 $*" err "Neofetch command: $0 $*"
err "Neofetch version: $version"
# Show error messages. # Show error messages.
[[ "$verbose" == "on" ]] && printf "%b" "$err" >&2 [[ "$verbose" == "on" ]] && printf "%b" "$err" >&2