Interactive terminal UI application written in Python
to practice nix
packaging.
Enter
or Space
: toggle “drawing” mode (highlight cells under cursor in chosen color)Backspace
: clear screenEscape
: quit programAll 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.
Run moof
without installing:
cd moof
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:
let
moof = builtins.fetchGit {
url = "https://github.com/fricklerhandwerk/moof";
ref = "master";
};
in
home.packages = [
# ...
(import moof).moof
];