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

View File

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