fix script for bash
This commit is contained in:
parent
f3f9664bc2
commit
18e4cb4344
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user