xhibit
1.0.0
ASCIIアートとシステムの仕様を展示します
Linuxベースのディストリビューションで動作します。
注:重要です
パス変数に〜/.local/bin/を追加する必要があります
Posixベースのシェル(Bash、Zsh、Dash、....)
BashrcをRepective ShellのRCに変更します
echo 'export PATH=~/.local/bin:$PATH' >> $HOME/.bashrc
魚の殻
echo 'set PATH ~/.local/bin/ $PATH' >> $HOME/.config/fish/config.fish
pip install xhibit
ASCIIアートのみ
画像表示用
usage: xhibit [-h] [-v] [-lcs LCS] [-cs CS] [-rcs RCS] [-ccs CCS] [-cn CN] [-rcn RCN] [-cpu CPU] [-gpu GPU] [-img IMG] [-imb IMB] [-crop CROP]
options:
-h, --help show this help message and exit
-v Prints version.
-lcs LCS List all colorschemes available [Pass 'all' as argument like this -> xhibit -lcs 'all']
-cs CS Colorscheme to display.
-rcs RCS Randomize Colorschemes [t or f].
-ccs CCS Give custom colorschemem of 8 colors like this "#BF616A,#A3BE8C,#EBCB8B,#81A1C1,#B48EAD,#88C0D0,#E5E9F0,#B48EAD".
-cn CN Specify Character name [monalisa,egyptian,fairy,casper,dragon].
-rcn RCN Randomize Characters [t or f].
-cpu CPU Mention Cpu [Custom Cpu name].
-gpu GPU Mention Gpu [Custom Gpu name].
-img IMG Image path.
-imb IMB Mention Image backend [kitty or ueberzug].
-crop CROP Mention crop type [fit or fill].
ASCII文字が利用可能です
Colorschemeが利用可能
Gruvbox ColorschemeとCasperを選択します
xhibit -cs gruvbox -cn casper
Dracula Colorscheme and Fairyを選択します
xhibit -cs dracula -cn fairy
ColorschemeとCharacterをランダム化するには
xhibit -rcs t -rcn t
Colorschemeリストを確認してください
利用可能なすべてのカラースキームを一覧表示します
xhibit -lcs ' all 'カラースキームを選ぶ
xhibit -cs " Eighties.dark " -cn dragon
カスタムユーザーの色を与える
テキストを表示するためにXhibitにカスタムユーザー色を与えることができます。以下に示すように、コンマによって分離されたヘックス形式の8色すべてを与える必要があります。
xhibit -ccs " #BF616A,#A3BE8C,#EBCB8B,#81A1C1,#B48EAD,#88C0D0,#E5E9F0,#B48EAD " 
元のUeberzugプロジェクトは、元の著者によって放棄されました。しかし、その遺産を継続している人もいます。以下のコマンドを使用して、Ueberzugをインストールできます。 ueberzugppのようなプロジェクトが存在することは知っていますが、今のところ私のプロジェクトはkittyとueberzugバックエンドのみをサポートして画像を表示します。
git clone https://github.com/ueber-devel/ueberzug ;
cd ueberzug/
pip install .
cd ..
rm -rf ueberzugUeberzugまたはKittyターミナルによる画像サポート。
xhibit -img " path/to/image/file " -imb " kitty "
or
xhibit -img " path/to/image/file " -imb " ueberzug "
画像の収穫または充填
xhibit -img " path/to/image/file " -imb " kitty " -crop " fit "
xhibit -img " path/to/image/file " -imb " kitty " -crop " fill "
or
xhibit -img " path/to/image/file " -imb " ueberzug " -crop " fit "
xhibit -img " path/to/image/file " -imb " ueberzug " -crop " fill "
