Skip to content

Commit

Permalink
Adding new animated gif w/ scripts which resolves #157
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Aug 27, 2018
1 parent 4217806 commit 2c0b346
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions build/anigif-create.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 22 additions & 0 deletions build/anigif-rename.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
#
# Copyright (C) 2014-2018 Martin Dvorak <[email protected]>
#
# 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
Binary file added doc/hstr-v2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2c0b346

Please sign in to comment.