Git Product home page Git Product logo

renovate-bot / z-shell-_-zsh-morpho Goto Github PK

View Code? Open in Web Editor NEW

This project forked from z-shell/zsh-morpho

0.0 0.0 0.0 21 KB

Terminal screen saver for Zshell. Implements morphogenesis and Mandelbrot images. Written in pure Zshell (possible thanks to floating-point numbers and to zsh/mathfunc module). Supports running external commands, for example cmatrix

Home Page: https://z.digitalclouds.dev

License: Other

Shell 63.24% Python 36.76%

z-shell-_-zsh-morpho's Introduction

ZSH-MORPHO

Introduction

Terminal screen saver for Zshell. Implements morphogenesis and Mandelbrot images. Written in pure Zshell (possible thanks to floating point numbers and to zsh/mathfunc module). Supports running external commands, for example cmatrix.

Screen saver will start after configured time, in last terminal in which a command has been executed.

Video – view on asciinema. You can resize the video by pressing Ctrl-+ or Cmd-+.

asciicast

Configuration

There are 4 zstyles:

zstyle ":morpho" screen-saver "zmorpho" # select screen saver "zmorpho"; available: zmorpho, zmandelbrot, zblank, pmorpho
                                        # this  can also be a command, e.g. "cmatrix"
zstyle ":morpho" arguments "-s"         # arguments given to screen saver program; -s - every key press ends
zstyle ":morpho" delay "290"            # 5 minutes before screen saver starts
zstyle ":morpho" check-interval "60"    # check every 1 minute if to run screen saver

To test screen savers run them directly from command line, e.g. issue "pmorpho".

Installation

The plugin is "standalone", which means that only sourcing it is needed. So to install, unpack zsh-morpho somewhere and add source {where-zsh-morpho-is}/zsh-morpho.plugin.zsh to zshrc.

If using a plugin manager, then ZI is recommended, but you can use any other too, and also install with Oh My Zsh (by copying directory to ~/.oh-my-zsh/custom/plugins).

Add zi load z-shell/zsh-morpho to .zshrc. The plugin will be loaded next time you start Zsh. To update issue zi update z-shell/zsh-morpho from command line.

Zgen

Add zgen load z-shell/zsh-morpho to .zshrc and issue a zgen reset (this assumes that there is a proper zgen save construct in .zshrc).

Antigen

Add antigen bundle z-shell/zsh-morpho to .zshrc. There also should be antigen apply.

Oh-My-Zsh

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone https://github.com/z-shell/zsh-morpho.git
  3. Add zsh-morpho to your plugin list

z-shell-_-zsh-morpho's People

Contributors

ss-o avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.