A modular, hackable, and minimal fetch script written in Bash
First, install the dependencies: xrandr, figlet, playerctl and bash.
Automatic (Recommended):
sudo wget https://raw.githubusercontent.com/terminalmaid/katfetch/main/katfetch -q -O /usr/bin/katfetch;chmod +x /usr/bin/katfetch
Manual: Then, git clone this repo to somewhere like ~/.katfetch and copy the shell script to /usr/bin/katfetch. If you're stubborn replace doas with the bloated sudo.
git clone https://github.com/egor4ka/katfetch ~/.katfetch
cd ~/.katfetch
doas cp ./katfetch /usr/bin/katfetch
you can use the configpath env var to specify config path
flags:
-g or --force-figlet: force figlet instead of ascii
-l or --left: print on left
-c or --center: print on center
-a or --art: specify ascii art
-h or --help: help
You can edit the ~/.config/katfetch/config or your own config file to reorder functions, add your own functions, or remove some. You can also set ascii art, color and to be centered or not. Note that configs other than ~/.config/katfetch/config should not contain the if else part since that recurses
This lil' script is licensed under the WTFPL, a great license that allows you to pretty much fuckin' anything. Get more info at http://www.wtfpl.net/
Note that this project also has the MIT license included for compatibility.
Thanks to me0wing-katt0 (Egor Scherbakov), TruncatedDinosour (Ari Archer) and The-Repo-Club (Wayne Wesley)
hjklhjkl