Merge pull request #181 from iandrewt/refresh_rate

fixed if statement for linux resolution
This commit is contained in:
Dylan Araps 2016-03-26 11:56:28 +11:00
commit 869d3c0c7c
1 changed files with 1 additions and 1 deletions

View File

@ -1285,7 +1285,7 @@ getresolution () {
esac
resolution=${resolution//\*}
elif type -p xdpyinfo >/dev/null 2>&1 && \
elif type -p xdpyinfo >/dev/null 2>&1; then
resolution=$(xdpyinfo 2>/dev/null | awk '/dimensions:/ {printf $2}')
fi
;;