fixed swallow of any, thx wbmnfktr and alexkutzke

This commit is contained in:
Tomas Baca 2022-04-02 20:47:50 -04:00
parent 86e1aa4f67
commit f3504fb0ce

View File

@ -357,7 +357,7 @@ MATCH ANY" | rofi -i -dmenu -p "How to identify windows? (xprop style)")
if [[ "$CRITERION" = "default" ]]; then
$VIM_BIN $HEADLESS -nEs -u NONE -c "%g/instance/norm ^dW" -c "wqa" -- "$LAYOUT_FILE"
elif [[ "$CRITERION" = "any" ]]; then
$VIM_BIN $HEADLESS -nEs -u NONE -c '%g/instance/norm ^dW3f"di"' -c "wqa" -- "$LAYOUT_FILE"
$VIM_BIN $HEADLESS -nEs -u NONE -c '%g/instance/norm ^dW3f"di"i^.+$' -c "wqa" -- "$LAYOUT_FILE"
elif [[ "$CRITERION" = "specific" ]]; then
LAST_LINE=1