cmatrix 本身没有官方“主题”机制,它主要通过颜色、字符集、速度、窗口样式来“换风格”。在 CentOS 上常见做法如下:
cmatrix -C red
cmatrix -C green
cmatrix -C blue
cmatrix -C cyan
cmatrix -C white
cmatrix -C yellow
cmatrix -C magenta
也可以直接指定颜色名(部分版本支持):
cmatrix -C green
cmatrix -u 2 # 更新速度
cmatrix -b # 加粗字符
cmatrix -s # 屏保模式
cmatrix -x # XWindow 模式
export CMATRIX_COLOR=cyan
cmatrix
(不是所有版本都支持,取决于编译)
可以写别名:
alias hacker='cmatrix -C green -b -u 2'
alias matrix-red='cmatrix -C red -s'
写入:
~/.bashrc
unimatrixpip install unimatrix
unimatrix -c red
支持更丰富的字符和颜色。
cmatrix + tmux + 配色tmux new -s matrix
cmatrix -C cyan
再配合终端主题(如 Dracula、Solarized)。
yum install epel-release -y
yum install cmatrix -y
如果你愿意,我可以:
你更想要哪种?