From b1b6f5cffe1db635ea3e4f77af2333c476677563 Mon Sep 17 00:00:00 2001 From: empathicqubit Date: Thu, 6 May 2021 00:27:42 -0400 Subject: [PATCH] Try to clean up the files with nodejs so the matcher doesn't break --- layout_manager.sh | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/layout_manager.sh b/layout_manager.sh index 7eebb07..cfd4650 100755 --- a/layout_manager.sh +++ b/layout_manager.sh @@ -231,10 +231,16 @@ MATCH ANY" | rofi -i -dmenu -p "How to identify windows? (xprop style)") CURRENT_MONITOR=$(i3-msg -t get_workspaces | jq '.[] | select(.focused==true).output' | cut -d"\"" -f2) # get the i3-tree for all workspaces for the current monitor - i3-save-tree --output "$CURRENT_MONITOR" > "$ALL_WS_FILE" 2>&1 + node - > "$ALL_WS_FILE" 2>&1 < "$LAYOUT_FILE" 2>&1 + node - > "$LAYOUT_FILE" 2>&1 <