From 42863b8f1d078eb826c0bfb364ea118874de06c7 Mon Sep 17 00:00:00 2001 From: Tudor Date: Fri, 22 Apr 2016 11:35:47 +0300 Subject: [PATCH 1/2] readme: updated installation instructions for CRUX --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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 From 9f5178687e826181124fc603450de8f0d2f8f460 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 23 Apr 2016 23:02:17 +1000 Subject: [PATCH 2/2] Removed unused math, speeds up script a tiny bit --- neofetch | 1 - 1 file changed, 1 deletion(-) diff --git a/neofetch b/neofetch index 3535751c..3872b45b 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