Adding new animated gif w/ scripts which resolves #157

This commit is contained in:
Martin Dvorak 2018-08-27 17:23:10 +02:00
parent 4217806d83
commit 2c0b346793
4 changed files with 39 additions and 2 deletions

View file

@ -9,8 +9,7 @@
Easily view, navigate and search your **command history** with shell history suggest box for Bash and
[zsh](CONFIGURATION.md#zsh-history-settings).
[![Shell History Suggest Box](http://me.mindforger.com/projects/images/hh-animated-01.gif "Shell History Suggest Box @ YouTube")](http://www.youtube.com/watch?v=sPF29NyXe2U)
[![Shell History Suggest Box](doc/hstr-v2.gif "Shell History Suggest Box @ YouTube")](http://www.youtube.com/watch?v=sPF29NyXe2U)
## Description
Are you looking for a command that you used **recently**? Do you

16
build/anigif-create.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
# convert -loop 0 -delay 100 in1.png in2.png out.gif
export FFF=`ls *.png | while read F
do
echo "${F}"
done`
# delay: 100 > 75
export CCC="convert -loop 0 -delay 75 ${FFF} hstr-v2.gif"
#echo ${CCC};
${CCC}
# eof

22
build/anigif-rename.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
#
# Copyright (C) 2014-2018 Martin Dvorak <martin.dvorak@mindforger.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Script which creates raw screenshots to reasonable names to simplify animated gif edits
export C=1000
ls *.png | while read F; do C=`expr $C + 1`; cp -vf "$F" "${C}.png"; done
# eof

BIN
doc/hstr-v2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB