-
The following is my custom configuration file for Neofetch using ascii art made by Adithyan-KV and several additional perameters using the
prin
option in Neofetch. -
My Terminal Emulator of choice is Tilix and therefore some of my customizations are tilix specific.
In Ubuntu and debian these packages can be installed easily with the following commands:
wget https://protonvpn.com/download/protonvpn-stable-release_1.0.1-1_all.deb
sudo dpkg -i protonvpn-stable-release_1.0.1-1_all.deb
sudo apt-get update
sudo apt-get install protonvpn
sudo apt-get update
sudo apt-get install lutris
sudo apt-get update
sudo apt-get install ripgrep
sudo apt-get update
sudo apt-get install efibootmgr
git clone https://github.com/ryanoasis/nerd-fonts.git
cd nerd-fonts
./iinstall.sh
./install.sh <FontName>
./install.sh CodeNewRoman
./install.sh ProggyClean
- This is done usinng the prin option
prin "異Bootloader" "$(efibootmgr | rg "Boot`efibootmgr | rg "BootOrder" | cut -c12-15`" | cut -c11-)"
- uses efibootmgr and grep or ripgrep to find the default 1st bootloader then grep again using that number string to determine the default bootloaders label.
prin " Lutris Games" "$(ls /home/$USER/.local/share/lutris/banners | wc -l)"
- Uses the
ls
andwc
commands to show how many games I have installed on Lutris
prin "墳Sound Server" "$(pactl info | rg 'Server Name' | cut -c13-)"
- I have started using Pipewire as a sound Server and since its still new and part incorporated into my distro by default it is important to make sure the system is still using it.
- I use
pactl info
withgrep
orrg
(ripgrep) to make sure pipewire is working properly.
prin " Terminal Font" "$(dconf dump /com/gexperts/Tilix/profiles/[Profile String]/ | rg "font" --max-count=1 | cut -c6-)"
- For whatever reason the
term_font
function doesn't work on tilix. I'm not sure why. - See the Neofetch Wiki for more info about this.
- As a result I am using
dconf dump
withgrep
orrg
(ripgrep) to find this infomation. - this requires you to find the string assosiated with your Tilix profile using the command
dconf dump /com/gexperts/Tilix/profiles
- This implementation is problematic and may not alsways work. However it has worked for me so far.
prin "旅 ProtonVPN Server" "$(protonvpn-cli s | rg "Server" --max-count=1 | cut -c11-)"
- This simply displays which ProtonVPN Server I am connected to too.
- This is accomplished by installing any nerd font.
- Set installed nerd-font as the font used by your terminal emulator
- In Tilix this can be done by opening Preferences, Selecting your profile. checking the box for "Custom Font" and selecting whichever Nerd Font that's installed.
- In other Terminal Emulators you may have to edit a config file manually.
- In kitty open
/home/$USER/.config/kitty/kitty.conf
in your editor of choice. - In Alacritty the config file is located in
/home/$USER/.config/alacritty/alacritty.yml
- In kitty open
git clone https://github.com/BelArvardan/Neofetch_Merlin_Config /home/$USER/.config/neofetch
neofetch
neofetch --config /path/to/config
neofetch --config /home/$USER/.config/neofetch/config-w3m.conf
neofetch --source /path/to/img
neofetch --source /home/$USER/.config/neofetch/ascii/skull.txt
neofetch --config /home/$USER/.config/neofetch/config-w3m.conf
or
neofetch --w3m source --source /home/$USER/.config/neofetch/images/space-wizard-car.jpeg
Example using Kitty
neofetch --kitty source /home/$USER/.config/neofetch/images/space-wizard-car.jpeg
- merlin.txt designed by Adithyan-KV.
- pipboy.txt found on r/Fallout.
- skull.txt designed by Adithyan-KV.
- vampire.txt found on asciiart.eu
- viking.txt found on asciiart.website
- space-wizard-car.jpeg found on r/SS13
- Goph An easy way to install many terminal color themes.
- Neofetch is a fun and useful tool which is widely used and highly customizable.
- Hopefully my config example will inspire others to create new useful customizations.
- My additions are very simple and slightly hacky, so I'm sure others can easily create new and amazing additions.
- This is the 1st project I have posted in several years.
- Any comments or suggestions are welcome.