nvim: add inkscape-shortcut-manager as submodule
This commit is contained in:
parent
9fcc33f76c
commit
d2c8b4fa60
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
|||||||
[submodule "src/.local/bin/pyinstantref"]
|
[submodule "src/.local/bin/pyinstantref"]
|
||||||
path = src/.local/bin/pyinstantref
|
path = src/.local/bin/pyinstantref
|
||||||
url = https://github.com/dogeystamp/pyinstantref
|
url = https://github.com/dogeystamp/pyinstantref
|
||||||
|
[submodule "src/.local/bin/inkscape-shortcut-manager"]
|
||||||
|
path = src/.local/bin/inkscape-shortcut-manager
|
||||||
|
url = https://github.com/dogeystamp/inkscape-shortcut-manager
|
||||||
|
1
programs
1
programs
@ -122,6 +122,7 @@ xsel
|
|||||||
|
|
||||||
# inkscape shortcut manager
|
# inkscape shortcut manager
|
||||||
python-xlib
|
python-xlib
|
||||||
|
pdf2svg
|
||||||
|
|
||||||
chromium
|
chromium
|
||||||
cargo
|
cargo
|
||||||
|
@ -7,7 +7,7 @@ function EditFig()
|
|||||||
let figure_fname = expand('<cfile>')
|
let figure_fname = expand('<cfile>')
|
||||||
exec "silent !typst-figure " .. figure_fname
|
exec "silent !typst-figure " .. figure_fname
|
||||||
vsp
|
vsp
|
||||||
exec "term inkscape-shortcut-manager"
|
exec "term inkscape-shortcut-single"
|
||||||
quit
|
quit
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# wrapper to have a single instance of inkscape-shortcut-manager running
|
|
||||||
|
|
||||||
if ! pgrep -f inkscape-shortcut-manager/main.py; then
|
|
||||||
# really hacky hardcoding of path here
|
|
||||||
# https://github.com/dogeystamp/inkscape-shortcut-manager
|
|
||||||
# clone this and point to its main.py
|
|
||||||
python3 ~/dox/proj/inkscape-shortcut-manager/main.py
|
|
||||||
fi
|
|
1
src/.local/bin/inkscape-shortcut-manager
Submodule
1
src/.local/bin/inkscape-shortcut-manager
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 04eeef7804c11374512e9347ab6996be1dd64a46
|
8
src/.local/bin/inkscape-shortcut-single
Executable file
8
src/.local/bin/inkscape-shortcut-single
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# hacky wrapper to have a single instance of inkscape-shortcut-manager running
|
||||||
|
|
||||||
|
if ! pgrep -u "$USER" -f inkscape-shortcut-manager/main.py; then
|
||||||
|
# https://github.com/dogeystamp/inkscape-shortcut-manager
|
||||||
|
# clone this and point to its main.py
|
||||||
|
python3 ~/.local/bin/inkscape-shortcut-manager/main.py
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user