From 0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 5 Jul 2015 22:29:19 +0200 Subject: [PATCH] Look for a literal ., not any character --- herbstluftwm/usr/bin/hrunorraise | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/herbstluftwm/usr/bin/hrunorraise b/herbstluftwm/usr/bin/hrunorraise index f869e93..ac449e4 100755 --- a/herbstluftwm/usr/bin/hrunorraise +++ b/herbstluftwm/usr/bin/hrunorraise @@ -7,7 +7,7 @@ # # This script depends on both herbstluftwm and wmctrl. -WINID=$(wmctrl -lx | grep ".$1" | awk '{ print $1 }') +WINID=$(wmctrl -lx | grep "\.$1" | awk '{ print $1 }') if [ -n "${WINID}" ]; then herbstclient jumpto "${WINID}"