项目作者: fricklerhandwerk

项目描述 :
高级语言: Python
项目地址: git://github.com/fricklerhandwerk/move.git
创建时间: 2019-08-08T13:41:27Z
项目社区:https://github.com/fricklerhandwerk/move

开源协议:

下载


moof

Interactive terminal UI application written in Python to practice nix packaging.

Controls

  • arrow keys: move cursor
  • Enter or Space: toggle “drawing” mode (highlight cells under cursor in chosen color)
  • Numbers 1-9: select drawing color
  • Backspace: clear screen
  • Escape: quit program

All changes to the screen state are recorded to $XDG_DATA_HOME/moof/moof-$(datetime --iso=seconds).
This way the produced images can in principle be recreated.

Installation

Run moof without installing:

  1. cd moof
  2. nix-shell --run moof

To add moof to an environment, add the package in the appropriate place (buildInputs, environment.systemPackages, home.packages, etc.) by importing this repository’s directory. Example:

  1. let
  2. moof = builtins.fetchGit {
  3. url = "https://github.com/fricklerhandwerk/moof";
  4. ref = "master";
  5. };
  6. in
  7. home.packages = [
  8. # ...
  9. (import moof).moof
  10. ];