ikskuh/kristall

feature request: --new-tab

Closed this issue · 2 comments

I know this might be difficult to do cross-platform, but it'd be awesome if I could run kristall --new-tab [someurl] and it'd open in an already running kristall instead of making a new window. not sure what should happen is there's two kristall windows already open though.

I think that opening in new tab should actually be the default behaviour. We can then instead add a --new-window option in case a user wants to open in a new window.

This feature was easy to implement in Qt4 with QtSingleApplication, nowadays the recommended way seems to be the use of a QLocalSocket and QLocalServer