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