fetch: Simplify neofetch call

This commit is contained in:
Salt 2018-11-16 20:51:57 -06:00
parent 8ce49b4e15
commit bcd40f9a27

6
fetch
View File

@ -1,11 +1,7 @@
#!/bin/sh #!/bin/sh
name="$(basename $0 .sh)" name="$(basename $0 .sh)"
if $(which neofetch > /dev/null 2>&1); then if $(which neofetch > /dev/null 2>&1); then
neofetch\ neofetch
--disable model resolution\
--block_range 0 15\
--image wall\
--xoffset 4 --yoffset 4
scrot "$HOME/Pictures/Screenshots/neofetch-`date +%s`.png" scrot "$HOME/Pictures/Screenshots/neofetch-`date +%s`.png"
else else
printf "$name: Neofetch is not installed; aborting\n" printf "$name: Neofetch is not installed; aborting\n"