fix vscode zathura syctex with a good solution

This commit is contained in:
qvalentin 2021-11-19 19:34:04 +01:00
parent b3854d6d0a
commit 41e962eec5
3 changed files with 6 additions and 7 deletions

View File

@ -1,4 +0,0 @@
#!/bin/bash
param=$(echo "$1" | sed 's/\/\.\//\//')
echo "$param" >> ~/myfifo
#exec bash -c "vscodium --verbose --reuse-window -g '$param' >> ~/test.txt"

View File

@ -1,3 +0,0 @@
#!/bin/bash
zaSynctex.sh &
zathura "$@"

6
.scripts/zathuraVsCode.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
zathura --synctex-editor-command 'echo %{input}:%{line}' $@ |
while read line; do
vscodium --verbose --reuse-window -g $line </dev/null
done