fetch: Simplify neofetch call
This commit is contained in:
parent
8ce49b4e15
commit
bcd40f9a27
6
fetch
6
fetch
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user