Look for a literal ., not any character
This commit is contained in:
parent
d8a6c9640c
commit
0fa2c21ec8
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue