lib/menu.src.yml in markdown_exec-2.0.0 vs lib/menu.src.yml in markdown_exec-2.0.1
- old
+ new
@@ -217,22 +217,21 @@
set {missing value, menubarHeight} to the size of menu bar 1
end tell
end tell
set winHeight to (screenHeight * 2 / 3)
- set winWidth to (screenWidth / 2)
+ set winWidth to (screenWidth * 2 / 3)
set xoff to menubarHeight * %{batch_index}
set yoff to xoff mod (screenHeight - winHeight)
create window with default profile
tell the first window
set bounds to {xoff, yoff, xoff + winWidth, yoff + winHeight}
tell the current session
write text "s=\"%{script_filespec}\""
write text "o=\"%{output_filespec}\""
- write text "echo -ne \"\\033]; %{started_at} - %{document_filename} - %{block_name} \\007\""
write text "cd \"%{home}\""
- write text "# \"%{script_filename}\" | tee -a \"%{output_filespec}\""
+ write text "echo -ne \"\\033]; %{started_at} - %{document_filename} - %{block_name} \\007\""
write text "\"$s\" | tee -a \"$o\""
end tell
end tell
end tell'
:description: execute_command_format