Differences From
Artifact [bf8e7ec053]:
11 11 * running and i just want a new goddamn tab. it
12 12 * turns out, qutebrowser publishes an inane IPC
13 13 * mechanism, in which JSON (i know!!) written to a
14 14 * unix domain socket (I KNOW) can send signals to
15 15 * a running qutebrowser process. newtab checks if
16 16 * there's a running qutebrowser process and sends
17 17 * the appropriate IPC signal if so. otherwise, it
18 - * execs a new qutebrowser instance.
18 + * forks off a new qutebrowser instance and returns
19 + * an exit status of 1.
19 20 *
20 21 * it takes a single argument, the URI of a page to
21 22 * navigate to. if launched without an argument,
22 23 * newtab simply opens a blank new tab. simple
23 24 * enough, right? but why write it in C? to talk to
24 25 * a goddammned python application, of all things?
25 26 * well, i was originally going to do this in a