From f3504fb0ceeb5c1352fd52ac59611682a61cd5d2 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sat, 2 Apr 2022 20:47:50 -0400 Subject: [PATCH] fixed swallow of any, thx wbmnfktr and alexkutzke --- layout_manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout_manager.sh b/layout_manager.sh index 913a3c8..a67111a 100755 --- a/layout_manager.sh +++ b/layout_manager.sh @@ -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