Nils Goroll on Nostr: my #entr one liner of the day: Render RST to HTML and refresh my browser to view the ...
my #entr one liner of the day: Render RST to HTML and refresh my browser to view the result when I save the RST:
```
echo doc/changes.rst | entr bash -c 'rst2html doc/changes.rst >c.html ; xdotool key --window $(xdotool search --name "Mozilla Firefox") F5'
```
#shell #x11
Published at
2024-09-06 17:41:58Event JSON
{
"id": "e0003de454587656b22a760763ec33877d462526aba2848c53b17732a2a41a3d",
"pubkey": "6d95f4d5cc3856fbba6740b8967bacbad30a2f60770821651af3f21b9199779f",
"created_at": 1725644518,
"kind": 1,
"tags": [
[
"t",
"entr"
],
[
"t",
"shell"
],
[
"t",
"x11"
],
[
"proxy",
"https://fosstodon.org/users/slink/statuses/113091839168135514",
"activitypub"
]
],
"content": "my #entr one liner of the day: Render RST to HTML and refresh my browser to view the result when I save the RST:\n\n```\necho doc/changes.rst | entr bash -c 'rst2html doc/changes.rst \u003ec.html ; xdotool key --window $(xdotool search --name \"Mozilla Firefox\") F5'\n```\n\n#shell #x11",
"sig": "252785ae3fb26ec7796c1ae52e9129bb8bd754d80c9977cb5477c80371d3c376175e2f7ff97b3633285f0e2972674f25ecc512459673b3bbc4a3dba31d8d91e3"
}