fixed escaped matches

This commit is contained in:
Tomas Baca 2018-08-30 04:12:21 +02:00
parent b415e90773
commit a3a0bd1764

View File

@ -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?) # load old workspace file (we destroyed the old one, remember?)
mv $BACKUP_FILE $LAYOUT_FILE mv $BACKUP_FILE $LAYOUT_FILE
$VIM_BIN $HEADLESS -nEs -c '%s/\\\\//g' -c "wqa" -- "$LAYOUT_FILE"
# delete the part below and above the block # delete the part below and above the block
$VIM_BIN $HEADLESS -nEs -c "normal ${MATCH_LINE}ggdGG{kdgg" -c "wqa" -- "$ALL_WS_FILE" $VIM_BIN $HEADLESS -nEs -c "normal ${MATCH_LINE}ggdGG{kdgg" -c "wqa" -- "$ALL_WS_FILE"
# rename the "workspace to "con" (container) # rename the "workspace to "con" (container)