Skip to content

Commit

Permalink
Merge pull request #39 from slub/browser-fullscreen
Browse files Browse the repository at this point in the history
Starting browser maximized and without edit/open functionality
  • Loading branch information
markusweigelt authored Aug 29, 2023
2 parents 914bc78 + 1e43aef commit 067bee1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ocrdbrowser/_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,11 @@ def browser_command(workspace: str, broadway_pid: int) -> str:
mets_path = workspace + "/mets.xml"
kill_broadway = f"; kill {broadway_pid}"
browse_ocrd = cast(str, which("browse-ocrd"))
return " ".join([browse_ocrd, mets_path, kill_broadway])
return " ".join(
[
browse_ocrd,
"-mr",
mets_path,
kill_broadway,
]
)

0 comments on commit 067bee1

Please sign in to comment.