From 87d104414b6e4e093034a730f924cfe2f8feb123 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 26 Mar 2016 12:13:31 +1100 Subject: [PATCH] Travis, use makefile --- .travis.yml | 4 +++- neofetch | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d2f3330..72beb302 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: bash +sudo: required script: - - bash neofetch + - make install + - bash neofetch --ascii diff --git a/neofetch b/neofetch index c8494b61..f3f94908 100755 --- a/neofetch +++ b/neofetch @@ -1282,7 +1282,7 @@ getresolution () { case "$refresh_rate" in "on") resolution=$(xrandr --nograb --current | awk 'match($0,/[0-0]{2,3}.[0-9]{2}\*/) {printf $1 " @ " substr($0,RSTART,RLENGTH) "Hz, "}') ;; "off") resolution=$(xrandr --nograb --current | awk '/*/ {printf $1 ", "}') ;; - esac + esac resolution=${resolution//\*} elif type -p xdpyinfo >/dev/null 2>&1; then