Oh how I wish  #Inkscape had an automatic also-save-as-PDF-on-save functionality...

inkscape -o myfile.{pdf,svg}

is nice and short, and you can easily #watchexec that, but it'd be so great if it could just auto-save a PDF version next to the SVG on save.

Just came back to #watchexec crate.

A #rust module to watch and react to kernel events 👀
- file changes
- key press
- ...

The documentation is still tricky and outdated because of the rapidly evolving project!

But there is an undeniable effort to simplify and get stuffs together to the point that the code, comments and test files are astonishingly understandable and copy-pastable!

Skim through the doc to grasp the project structure then just dive into the code.

https://github.com/watchexec/watchexec/tree/main/crates/lib

watchexec/crates/lib at main · watchexec/watchexec

Executes commands in response to file modifications - watchexec/watchexec

GitHub
More #Rust #CLI #tools:
#navi ⬅️ man+fzf
#hyperfine ⬅️ benchmarking
#czkawka ⬅️ duplicates finder
#mdcat ⬅️ markdown render
#tectonic ⬅️ latex engine
#grex ⬅️ RE generator
#watchexec ⬅️ run commands on file modifications
#xh ⬅️ httpie
#just ⬅️ command runner
#tokei ⬅️ cloc
#sd ⬅️ sed
#amber ⬅️ sed
#dua ⬅️ ncdu
#pueue ⬅️ parallel
Trois utilitaires : Delta, Dust et Watchexec - LinuxFr.org

L’actualité du logiciel libre et des sujets voisins (DIY, Open Hardware, Open Data, les Communs, etc.), sur un site francophone contributif géré par une équipe bénévole par et pour des libristes enthousiastes

Trois utilitaires : Delta, Dust et Watchexec - LinuxFr.org

L’actualité du logiciel libre et des sujets voisins (DIY, Open Hardware, Open Data, les Communs, etc.), sur un site francophone contributif géré par une équipe bénévole par et pour des libristes enthousiastes