Skip to content
Terminal screensaver similar to dvd bouncing logo; Uses the distro/OS name/custom text instead
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
readme_assets
README.md No longer hits the corner perfectly unless GCD for terminal dimension… May 29, 2019
dvdts No longer hits the corner perfectly unless GCD for terminal dimension… May 29, 2019
gcd.go No longer hits the corner perfectly unless GCD for terminal dimension… May 29, 2019
main.go No longer hits the corner perfectly unless GCD for terminal dimension… May 29, 2019
os.go added -t, refactor some code May 29, 2019
text.go No longer hits the corner perfectly unless GCD for terminal dimension… May 29, 2019

README.md

DVDTS - DVD Term Screensaver

DVD Screensaver style screensaver for terminal. Instead of the logo of DVD, it uses the distro name/os name or custom text.

The text does not hit the corner of terminal perfectly only if GCD (greatest common divisor) for terminal dimensions isn't 1 (Otherwise mathematically not possible for it to not hit it eventually).

Preview

preview gif

The preview shows one use with color cyclying enabled and one with single color.

Preview shows one with custom text and color cycling enabled, and the default run.

If the gif is laggy, see video

Usage

Example

dvdts -a -c green -s 5

This will start the colors from green, cycle because of a flag, and text will move twice as fast.

Flags

-a      cycle through terminal colors
-c string
        color for the bouncing text (default "blue")
-s int
        speed of text [more is slower] (default 10)
-t string
        text to display (default <distro name>)

In use bindings

Key(s) Action
q or Ctrl+c Quit
a Toggle color cycling

Build Dependencies

Install

go install
You can’t perform that action at this time.