repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
README.mdMarkdown151 lines6.7 KiBsource raw download

crossfetch ☧#

CI License: MIT

An animated Chi-Rho terminal dashboard with a liturgical-calendar heart.

The Chi-Rho (Labarum) — the Greek letters Chi (Χ) and Rho (Ρ), the monogram of Christos that Constantine adopted — detonates on your terminal in a two-colour shockwave, glows beside your system specs, and changes its colours with the seasons of the church year. Advent turns it purple, Christmastide gold, Holy Week crimson — automatically, every day, no manual steps. On major feast days a special emblem (the Star of Bethlehem, the Dove, the Crown of Thorns) plays a one-time fullscreen animation, once per feast per year.

Inspired by hyfetch — its pride-month easter egg is where the "seasonal one-shot animation" idea comes from, reimagined here around the Western liturgical calendar. Credit and thanks to the hyfetch authors. No hyfetch code is used; crossfetch is written from scratch and drives fastfetch for the system-info side.

Features#

Install#

git clone https://github.com/DAEMON-404/crossfetch.git ~/.config/crossfetch
install -m 755 ~/.config/crossfetch/bin/crossfetch  ~/.local/bin/crossfetch
install -m 644 ~/.config/crossfetch/bin/liturgy.py  ~/.local/bin/liturgy.py
install -m 644 ~/.config/crossfetch/bin/ricefx.py   ~/.local/bin/ricefx.py

Requires Python 3 and a truecolor terminal. fastfetch is optional but is what --fetch and --sync-fastfetch are built around.

Usage#

crossfetch [burst|ring|rain|both]   live animated dashboard
crossfetch --fetch [secs]           specs + glowing symbol
crossfetch --logo [symbol]          static rainbow art (for fastfetch)
crossfetch --sync-fastfetch         render themed fastfetch config
crossfetch --feast [id]             replay a feast animation on demand

Environment#

Variable Meaning
RICEFX_THEME active theme (default rose-pine; auto light/dark otherwise)
CROSS_MODE burst | ring | rain | both
CROSS_SYMBOL which emblem to draw
CROSS_BURST explicit accent pair (love,gold) — always wins over the season
CROSS_LITURGY off disables all liturgical colouring
CROSS_FEAST off disables feast emblems + one-shot animations only
CROSS_TIMEOUT seconds before auto-exit (0 = until keypress)
CROSS_GLOW seconds of --fetch shimmer
CROSS_FPS frame-rate ceiling
NO_COLOR skips every animation

--feast is an explicit replay: it deliberately ignores CROSS_LITURGY and CROSS_FEAST, which gate only the automatic behaviour.

Recipes#

Everything is configurable per-launch or persistently (export in your shell rc):

RICEFX_THEME=gruvbox crossfetch            # same rig, gruvbox palette
RICEFX_THEME=catppuccin-mocha crossfetch --logo   # static art in another theme
CROSS_MODE=rain crossfetch                 # falling-trails animation instead
CROSS_SYMBOL=ichthys crossfetch --fetch    # fish emblem next to your specs
CROSS_BURST=iris,rose crossfetch           # pin your own colour pair year-round
CROSS_LITURGY=off crossfetch               # no church-calendar colouring at all
CROSS_TIMEOUT=5 crossfetch both            # auto-exit after 5s, alternate modes
crossfetch --feast pentecost               # replay the dove any day you like
crossfetch --sync-fastfetch                # re-skin fastfetch to current theme

Set-and-forget example for ~/.zshrc:

export RICEFX_THEME="tokyo-night"   # theme for everything
export CROSS_MODE="burst"
export CROSS_GLOW="1.6"

Shell integration#

A zsh startup block regenerates the logo files and the themed fastfetch config once per day (or whenever RICEFX_THEME changes), tracked by a marker in ~/.local/state/crossfetch/last-render — so the static art follows the liturgical season with zero launch-time cost.

Tests#

pytest tests -q

Covers the Easter computus against known dates (2024–2030), season boundaries, feast hits and misses, theme-table completeness, emblem mask geometry, the feast one-shot gate, and a byte-identical round-trip of the fastfetch template against a committed fixture.

Credits#

Soli Deo gloria.