Cutefetch is a little fetch utility completely made in the C programming language which aims to be simple and to show a little cute bunny in your terminal as well as relevant information about your current running system.
- Header
- Bunny banner
- Os name
- Kernel version
- Current used ram
- Hostname
- Disk: Used disk space / Total disk space (Shows mountpoints)
- Color palette
- gcc / clang
- gnumake
- git
- sudo
- uname (you should have it already installed)
- your hostname at /etc/hostname (you may already have that file there)
- A nerd font (to correctly render the glyphs at the color palette)
In an arch system you can build it by using your preferred aur helper such as yay per example
yay -S cutefetch
For NixOS you could use the provided flake and then install the exposed package in the default overlay. Take as reference the next dev shell which provides a cutefetch installation.
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
cutefetch.url = "github:AlphaTechnolog/cutefetch";
};
outputs = { self, nixpkgs, flake-utils, ... } @inputs: flake-utils.lib.eachDefaultSystem(system: let
pkgs = import nixpkgs rec {
inherit system;
overlays = [inputs.cutefetch.overlays.${system}.default];
};
in (with pkgs; {
devShells.default = mkShell {
buildInputs = [cutefetch];
};
}));
}
Then if you execute nix develop
in the folder where that flake.nix
file is, you will
get a shell where you can execute cutefetch
.
So, if you're using NixOS, import the cutefetch flake in your inputs, make an overlay, just like in the example, and then use home.packages if you're using home manager or environment.systemPackages for system wide install to make cutefetch available in your system.
When running gentoo, you could use the Alxhr0's andromeda repository which includes an ebuild for cutefetch, check it out here.
Include the repository by following the next commands:
emerge -av app-eselect/eselect-repository
eselect repository add andromeda git https://gitlab.com/Alxhr0/andromeda.git
emerge --sync andromeda
And now you can install it by unmasking it and accepting the license:
echo 'app-misc/cutefetch **' >> /etc/portage/package.accept_keywords/cutefetch
echo 'app-misc/cutefetch all-rights-reserved' >> /etc/portage/package.license/cutefetch
emerge -av app-misc/cutefetch
We're searching for contributors for packaging cutefetch on others distros, if you like cutefetch but it's not available in your distro, you could try packaging it for it, or adding a suggestion in the issues tab ;)
Else, you can try manually building it, it's easy :)
Run a little list of shell script commands.
mkdir -pv ~/repo && cd ~/repo
git clone https://github.com/AlphaTechnolog/cutefetch.git && cd cutefetch
sudo make install
Then just run in your terminal cutefetch
, and you'll see the cute bunny appearing
in your terminal screen :)
You may want to build it using clang, you can do it by overriding the
CC
variable:
sudo make CC=clang DESTDIR=/usr/bin all install
You can also set a destdir on where you wanna install cutefetch.
sudo make DESTDIR=/usr/bin install
sudo make DESTDIR=/usr/local/bin install
sudo make DESTIDR=/usr/local/bin uninstall
# ...
- Cleaning the file tree
make clean
if you already have ran
sudo make install
without having the program compiled you may have to run
sudo make clean
- Fresh compilation
make clean all
- Alxhr0: Who've built & tested cutefetch on others distros and packaged it for gentoo.
Thanks for reading me! Enjoy with cutefetch, also if you liked this little project please give me a star on this repo, that will support me and my work at GitHub :)