repo-badwitch
repo-ptgdp
.directory
.gitignore
.gitmodules
README.md
badwitch
cconvert
colortest
cowsayeternal
domainfind
fetch
fork
g910-lights
i3-settree
i3lock-custom
mclevel
ps1test
ptgdp
ptgdp-rofi
rmbspam
te
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
|