fix script for bash

This commit is contained in:
Mathieu Maret 2012-10-16 15:52:44 +02:00 committed by Mathieu Maret
parent f3f9664bc2
commit 18e4cb4344
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ function resize {
res=
if [ -e /usr/bin/xrandr ];
then
res=$(xrandr | grep '*' | awk '{print $1}')
res=$(xrandr | grep '\*' | awk '{print $1}')
else
res=$(xdpyinfo | grep dimensions | awk '{print $2}')
fi