Single instance support
This module allows Lua code to detect an already-running instance of luakit and open requested links on that instance, instead of opening two separate and independent instances.
Check whether an application using the identifier previously given to
unique.new is already running.
trueif an application instance is already running.
Send a message (which must be a string) to the primary instance of the application.
messageType: stringThe message to send to the primary instance.
Emitted only on the primary instance when a message is received from a secondary instance.
messageType: stringThe message sent with
screenType: screenAn opaque piece of data that represents the screen of the currently focused window of the main instance.
- 2011 Mason Larobina