✨ Added gifsicle and gifpress wrapper script
This commit is contained in:
parent
238c12a130
commit
5d26515d12
2 changed files with 16 additions and 2 deletions
14
scripts/gifpress
Executable file
14
scripts/gifpress
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $# -lt 3 ] ; then
|
||||
printf "not enough arguments given\n\
|
||||
usage: gifpress input.gif width height\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v gifsicle &> /dev/null ; then
|
||||
echo "gifpress not installed!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gifsicle "$1" --resize "$2x$3" > "$1_resized.gif"
|
||||
|
|
@ -186,6 +186,6 @@ paru dirb (1st option)
|
|||
|
||||
Go to Chrome store and install CSS Dig on brave
|
||||
|
||||
Install slop
|
||||
Install slop and gifsicle
|
||||
|
||||
doas pacman -S slop
|
||||
doas pacman -S slop gifsicle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue