Skip to content

VixurHD/pride-matrix

 
 

Repository files navigation

pride-matrix

A fork of cmatrix, with pride flags display mode

Background

A friend once made a shader that turned everything into a transgender flag. And I wondered if cmatrix could do the same.

The first attempt was a terrible hack that broke some of cmatrix's features. Eventually, I rewrote it into a proper fork that preserves compatibility with the original while adding support for pride flag colors schems.

Features

  • All original cmatrix functionality preserved
  • -F flag to render one of the built-in pride flags at startup
  • Hot-switching between flags and colors at runtime via keyboard shortcuts
  • Works in both X terminals (via ncurses init_color) and Linux TTY

Supported Pride-flags

Flag -F argument Key
Pride pride *
Trans trans (
Gay gay )
Lesbian lesbian _
Bi bi +
Pan pan -
Genderfluid gf =
asexual ace {
aromantic aro }
nonbinary nb [

r in pride-flag mode takes random colors from the flag palette

Build

git clone https://github.com/VixurHD/pridematrix
cd pridematrix
mkdir build
cd build
cmake ..
cmake --build .

Run

./cmatrix -F pride

Screenshots

tty

./cmatrix -F pride -b -M "Happy Pride Month" ./cmatrix -F pride -b
./cmatrix -F pan

kitty (or other modern terminal)

./cmatrix -F pride -M "Happy Pride Month" ./cmatrix -F pride
./cmatrix -F gay

About

cmatrix but have pride flags mode

Resources

License

Code of conduct

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 70.0%
  • M4 10.7%
  • CMake 5.7%
  • Makefile 5.1%
  • Shell 5.0%
  • Roff 3.5%