zathura: unbork links

disabling sandbox, because we'll mostly use this for our own files
anyways
This commit is contained in:
dogeystamp 2023-07-27 16:25:15 -04:00
parent 89fa51dffb
commit 17dbec19e6
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,3 @@
# might break things, but more secure
set sandbox strict
set statusbar-home-tilde true
# make things fit better
@ -27,3 +24,5 @@ set selection-clipboard clipboard
map <C-l> exec copy_ref
map <C-g> exec "copy_ref --section"
map ,fr exec "open_typ.sh $FILE"

4
src/.local/bin/open_typ.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# opens corresponding .typ to current .pdf
st -e nvim $(printf "%s/%s.typ" $(dirname "$1") $(basename -s .pdf "$1"))

@ -1 +1 @@
Subproject commit 31b4605b548e0e637b570f532be143b7eb91d553
Subproject commit 0135f1eb4f7f0c2c200b76ea80e4ccf1c8169797