summaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-07-05 22:29:19 +0200
committerGravatar Tom Willemse2015-07-05 22:29:19 +0200
commit0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5 (patch)
tree7c56545f44745ebf373983978b294df391ebb4b1 /herbstluftwm
parentd8a6c9640c204395354cb0dc37ac09fd5981deb6 (diff)
downloaddotfiles-0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5.tar.gz
dotfiles-0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5.zip
Look for a literal ., not any character
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/usr/bin/hrunorraise2
1 files changed, 1 insertions, 1 deletions
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}"