initial work on docs (#69)
* initial work on docs * fix DOCKER_VERSION * update location * add the path **properly** * Update docs workflow
This commit is contained in:
14
docs/update_screenshot.sh
Executable file
14
docs/update_screenshot.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -x -e
|
||||
go install github.com/homeport/termshot/cmd/termshot@main
|
||||
cargo install onefetch
|
||||
COMMIT_COUNT=$(git log --pretty=format:'' | wc -l | xargs)
|
||||
echo Commit count: $COMMIT_COUNT
|
||||
if (( $COMMIT_COUNT % 69 == 0 ))
|
||||
then
|
||||
echo "easter egg, yay!"
|
||||
termshot --show-cmd --filename Writerside/assets/onefetch.png -- "onefetch --number-of-authors 0 -a html | lolcat"
|
||||
else
|
||||
echo "normal. Yay."
|
||||
termshot --show-cmd --filename Writerside/assets/onefetch.png -- "onefetch --number-of-authors 0 -a c++"
|
||||
fi
|
||||
Reference in New Issue
Block a user