diff options
author | Tom Willemse | 2015-07-05 22:29:19 +0200 |
---|---|---|
committer | Tom Willemse | 2015-07-05 22:29:19 +0200 |
commit | 0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5 (patch) | |
tree | 7c56545f44745ebf373983978b294df391ebb4b1 | |
parent | d8a6c9640c204395354cb0dc37ac09fd5981deb6 (diff) | |
download | dotfiles-0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5.tar.gz dotfiles-0fa2c21ec81ebf521039ee3ca8b965d1cd6f3fa5.zip |
Look for a literal ., not any character
-rwxr-xr-x | herbstluftwm/usr/bin/hrunorraise | 2 |
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}" |