From a3a0bd17648f40d3b384de66df19000a67de7e00 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Thu, 30 Aug 2018 04:12:21 +0200 Subject: [PATCH] fixed escaped matches --- layout_manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout_manager.sh b/layout_manager.sh index a460f64..ee4d2ea 100755 --- a/layout_manager.sh +++ b/layout_manager.sh @@ -255,6 +255,8 @@ MATCH ANY" | rofi -i -dmenu -p "How to identify windows? (xprop style)") # load old workspace file (we destroyed the old one, remember?) mv $BACKUP_FILE $LAYOUT_FILE + $VIM_BIN $HEADLESS -nEs -c '%s/\\\\//g' -c "wqa" -- "$LAYOUT_FILE" + # delete the part below and above the block $VIM_BIN $HEADLESS -nEs -c "normal ${MATCH_LINE}ggdGG{kdgg" -c "wqa" -- "$ALL_WS_FILE" # rename the "workspace to "con" (container)