/pipes.sh

Animated pipes terminal screensaver

Primary LanguageShellOtherNOASSERTION

pipes.sh

Animated pipes terminal screensaver.
doc/pipes.png

Screenshot of pipes.sh, click to watch a screencast on YouTube.

pipes.sh was originally created by @msimpson and posted to the Arch Linux Forums in early 2010. It was also later posted to Gist_ released in the public domain..

In early 2013 @livibetter posted a modification of the script to Gist_ after reading about it on a blog where it was maintained for a few months.

In 2014 the script was given its own GitHub repo which encouraged contributions from other developers. As the script gained more popularity the decision was made to combine forces with developers of similar projects (such as this C version). Finally, in 2015 the MIT license was added and the Pipeseroni collective was formed.

  • Bash 4+ since version 1.0.0.

If you want to install, you can run:

$ make install

By default, it installs to /usr/local; for user home, you can run:

$ make PREFIX=$HOME/.local install

Or any PREFIX you prefer.

The Makefile also provides uninstall target.

Number of pipes (D=1).

Type of pipes, can be used more than once (D=0).

-t # Characters
-t 0

┃┏ ┓┛━┓ ┗┃┛┗ ┏━

doc/pipes.t0.png
-t 1

│╭ ╮╯─╮ ╰│╯╰ ╭─

doc/pipes.t1.png
-t 2

│┌ ┐┘─┐ └│┘└ ┌─

doc/pipes.t2.png
-t 3

║╔ ╗╝═╗ ╚║╝╚ ╔═

doc/pipes.t3.png
-t 4

|+ ++-+ +|++ +-

doc/pipes.t4.png
-t 5

|/ \/-\ \|/\ /-

doc/pipes.t5.png
-t 6

.. .... .... ..

doc/pipes.t6.png
-t 7

.o oo.o o.oo o.

doc/pipes.t7.png
-t 8

-\ /\|/ /-\/ \|

doc/pipes.t8.png

Custom pipe, for example: -t cMAYFORCEBWITHYOU.

doc/pipes.tc.png

Framerate (D=75).

Probability of a straight fitting (D=13).

Reset after x characters, 0 if no limit (D=2000).

Random starting point.

No bold effect.

No color.

doc/pipes.C.png

Help message.

Print version number.

Press any key to exit the program.

Feel free to fork and/or create pull request. If you're contributing, remember your changes will be released under the MIT license.