Skip to content

About

A NERV-style terminal screensaver for Omarchy: the MAGI deliberate, sync rates scroll, and PATTERN BLUE alerts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

MAGI

A NERV-style terminal screensaver for Omarchy.

It boots like the MAGI system itself, checking your real CPU and memory and bringing MELCHIOR, BALTHASAR and CASPER online one by one. Then the three supercomputers deliberate one proposal after another: each blinks 審議中 while it thinks, votes 承認 (approve) or 否決 (reject), and the verdict lands underneath. A.T. Field shockwaves roll across the hex grid, Units 00, 01 and 02's sync ratios trace an oscilloscope, and the MAGI log mixes flavor text with your machine's real load, memory, battery, temperature and uptime.

Every few minutes, PATTERN BLUE: an EMERGENCY alert, then Ramiel, the fifth Angel, tumbling in a targeting reticle as its range closes in.

Colors come from the current Omarchy theme, so it fits any theme; the screenshots use NERV, made to go with it. It's written in Rust and draws with braille characters for 2×4 dots per cell.

The MAGI rejecting HQ self-destruct

Ramiel in the targeting reticle

Boot PATTERN BLUE
The MAGI boot sequence The EMERGENCY alert

Install

Download a prebuilt binary (static, so it runs on any Linux; use magi-aarch64-linux on ARM):

mkdir -p ~/.local/share/omarchy-magi
curl -fL https://github.com/roydq/omarchy-magi/releases/latest/download/magi-x86_64-linux \
  -o ~/.local/share/omarchy-magi/magi
chmod +x ~/.local/share/omarchy-magi/magi

Or build it from source, which needs Rust (mise use -g rust, or sudo pacman -S rust):

git clone https://github.com/roydq/omarchy-magi ~/.local/share/omarchy-magi
cd ~/.local/share/omarchy-magi
cargo build --release
ln -s target/release/magi magi

Either way it needs a font with Japanese glyphs, which Omarchy ships.

Preview

~/.local/share/omarchy-magi/magi              # any key exits
~/.local/share/omarchy-magi/magi --alert      # start on a PATTERN BLUE alert
~/.local/share/omarchy-magi/magi --no-boot    # skip the boot sequence

MAGI_HOST replaces the hostname shown in the footer. MAGI_FPS sets the frame rate (default 15). Most of the CPU cost is the terminal redrawing each frame, so lower it to save battery.

Use it as the Omarchy screensaver

Omarchy's screensaver launcher opens a fullscreen terminal on each monitor and runs omarchy-screensaver inside it. MAGI takes that command's place, so the idle timer, the lock screen and multi-monitor handling all stay Omarchy's.

Omarchy puts its own commands first on the desktop's PATH, so replacing one takes an overrides directory placed ahead of them:

# Link MAGI in as omarchy-screensaver
mkdir -p ~/.local/share/omarchy-overrides/bin
ln -s ~/.local/share/omarchy-magi/magi ~/.local/share/omarchy-overrides/bin/omarchy-screensaver

# Put the overrides directory first on Hyprland's PATH
curl -fL https://raw.githubusercontent.com/roydq/omarchy-magi/main/omarchy-overrides.lua \
  -o ~/.config/hypr/omarchy-overrides.lua
echo 'require("hypr.omarchy-overrides")' >> ~/.config/hypr/hyprland.lua
hyprctl reload

Then omarchy launch screensaver force shows it right away, or wait for the idle timeout. To go back to Omarchy's screensaver, delete the omarchy-screensaver link. The screensaver doesn't see your shell's environment, so set MAGI_FPS or MAGI_HOST for it with hl.env("MAGI_FPS", "10") in your Hyprland config.

Open Omarchy pull requests would replace this setup with a setting: #9493 (screensaver plugins) and #10483 (idle.screensaverCommand).

Credits

An unofficial fan work, not affiliated with or endorsed by the makers of Neon Genesis Evangelion. NERV, MAGI and Evangelion belong to their respective owners.

License

MIT

About

A NERV-style terminal screensaver for Omarchy: the MAGI deliberate, sync rates scroll, and PATTERN BLUE alerts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages