bin/fetch

9 lines
213 B
Bash
Executable File

#!/bin/sh
name="$(basename $0 .sh)"
if $(which neofetch > /dev/null 2>&1); then
neofetch
scrot "$HOME/Pictures/Screenshots/neofetch-`date +%s`.png"
else
printf "$name: Neofetch is not installed; aborting\n"
fi