From 18e4cb43441886f8b6863628857790d1cd975f69 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Tue, 16 Oct 2012 15:52:44 +0200 Subject: [PATCH] fix script for bash --- scripts/getMadame.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/getMadame.sh b/scripts/getMadame.sh index 3e2138c..a8db72d 100755 --- a/scripts/getMadame.sh +++ b/scripts/getMadame.sh @@ -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