Travis, use makefile

This commit is contained in:
Dylan 2016-03-26 12:13:31 +11:00
parent b23f1097d1
commit 87d104414b
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
language: bash
sudo: required
script:
- bash neofetch
- make install
- bash neofetch --ascii

View File

@ -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