jimmyleith / pipes.sh

Animated pipes terminal screensaver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipes.sh

Animated pipes terminal screensaver.

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

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

Contents

A Brief History

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.

Requirements

  • Bash 4+ since version 1.0.0.

Installation

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.

Options

-p [1-]

Number of pipes (D=1).

-t [#]

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

-t # Characters
-t 0

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

-t 1

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

-t 2

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

-t 3

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

-t 4

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

-t 5

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

-t 6

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

-t 7

.o oo.o o.oo o.

-t 8

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

-t c[16 chars]

Custom pipe, for example: -t cMAYFORCEBWITHYOU.

-f [20-100]

Framerate (D=75).

-s [5-15]

Probability of a straight fitting (D=13).

-r LIMIT

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

-R

Random starting point.

-B

No bold effect.

-C

No color.

-h

Help message.

-v

Print version number.

Controls

Press any key to exit the program.

Contribution

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

About

Animated pipes terminal screensaver

License:Other


Languages

Language:Shell 87.3%Language:Makefile 12.7%