Monday, February 12, 2018

tweaking neofetch

Here's a follow-up to an earlier post ("trying neofetch"):

Kubuntu 17.10 has neofetch 3.3.0-1, while the version in Debian Stretch is 2.0.2-1. The older version is nice, but the newer version has some features that make it worth installing, if possible.

Here's a shot of my default neofetch in Kubuntu 17.10:


I found the neofetch configuration file at ~/.config/neofetch/config.conf in Kubuntu 17.10, and at ~/.config/neofetch/config in Debian Stretch. If the user forgets to make a copy of that file, the default file can be found at /etc/neofetch/config.conf in Kubuntu 17.10 or at /usr/share/neofetch/config in Stretch. Also, the default config file for the current neofetch version is at https://github.com/dylanaraps/neofetch/wiki/Config-File.

neofetch's default configuration will be good enough for many users; for others, it's important to study the configuration file and the neofetch manpage, and to refer to the documentation at https://github.com/dylanaraps/neofetch/wiki (and especially: https://github.com/dylanaraps/neofetch/wiki/Customizing-Info).

My current neofetch in Debian Stretch:


And, here's what I have now in Kubuntu 17.10:


I take advantage of the prin function (discussed at https://github.com/dylanaraps/neofetch/wiki/Customizing-Info#prin). For example, here are the lines I used in neofetch's config file in Kubuntu:

prin "$(color 7)Compaq Presario CQ56-219WM Notebook"
prin "$(color 4)Kubuntu 17.10 (Artful)"
prin "$(color 4)KDE Plasma 5.10.5"

In Kubuntu, I also used the "disk" info function -- the one in the newer neofetch version is better than the one in the older version -- and I used the "install_date" info function (which does not appear in the older neofetch version's config file) by uncommenting the following lines:

info "Disk" disk
info "Install Date" install_date

For additional tweaking of those two info functions, I used the following lines further down in the configuration file:

disk_show=('/')
install_time="off"

No comments: