🚧 Set up resume read script for mupdf
This commit is contained in:
parent
ddaa1ddab2
commit
274c40ce80
2 changed files with 10 additions and 0 deletions
7
scripts/resume_read
Executable file
7
scripts/resume_read
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
leftoff=7
|
||||
|
||||
# Look for current read in either .bashrc or .zshrc
|
||||
|
||||
gobble mupdf -I -r 204 "${CURRENT_READ}" "${leftoff}"
|
||||
|
|
@ -208,3 +208,6 @@ bindkey '^f' fex-widget
|
|||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
# current book being read (used in resume_read script)
|
||||
export CURRENT_READ=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue