diff --git a/README.md b/README.md index f0371e72..bb5ca284 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ https://github.com/dylanaraps/neofetch/wiki/Following-HEAD - `echo "x11-apps/neofetch" >> /etc/portage/package.use` 4. Install the package - `emerge -a x11-apps/neofetch` - + There is also a git version available: `emerge --autounmask-write =x11-apps/neofetch-9999` @@ -168,9 +168,20 @@ There is also a git version available: `emerge --autounmask-write =x11-apps/neof - `sudo wget -O /etc/ports/tudurom.git https://git.io/vV46y` 3. Sync the repos - `sudo ports -u` -4. Install the package +4. Add the repo to /etc/prt-get.conf with your text editor of choice + - `prtdir /usr/ports/tudurom` +5. Install the package - `sudo prt-get depinst neofetch` +Or alternatively use the [port](https://github.com/tudurom/crux-ports/blob/master/neofetch/Pkgfile): + +1. Download port + - `wget -O ~/work/neofetch/Pkgfile https://raw.githubusercontent.com/tudurom/crux-ports/master/neofetch/Pkgfile` +2. Build the package + - `fakeroot pkgmk -d` +3. Install the package + - `sudo pkgadd neofetch#git-*.pkg.tar.gz` + ### Debian / Ubuntu diff --git a/neofetch b/neofetch index 87134b2c..f91b2df0 100755 --- a/neofetch +++ b/neofetch @@ -2014,7 +2014,6 @@ getimage () { # Calculate font size font_width=$((term_width / columns)) - font_height=$((term_height / lines)) # Image size is half of the terminal case "$image_size" in