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 <