mpc
.directory
.gitignore
cconvert
cowsayeternal
fetch
i3-settree
i3lock-custom
mklatex
ssht
test-color
test-notifications
tmp
tubetop
tubetop2
xephwrap
xrdbupdate
12 lines
263 B
Bash
Executable File
12 lines
263 B
Bash
Executable File
#!/bin/sh
|
|
name="$(basename "$0" .sh)"
|
|
if command -v neofetch > /dev/null 2>&1; then
|
|
neofetch
|
|
sleep 3
|
|
scrot "$HOME/Pictures/Screenshots/neofetch-$(date +%s).png"
|
|
else
|
|
# shellcheck disable=1117
|
|
printf "%s: Neofetch is not installed; aborting\n" \
|
|
"$name"
|
|
fi
|