Closed truebit closed 8 months ago
Bug: Still opening a new window.
Version: Kitty 0.32.1 OpenInTerminal 2.3.7
Reference Links:
--instance-group
Used in combination with the kitty --single-instance option. All kitty invocations with the same kitty --instance-group will result in new windows being created in the first kitty instance within that group.
~/.config/kitty/kitty.conf
allow_remote_control yes
listen_on unix:/tmp/kitty
#!/bin/sh
exit=$(ls /tmp | grep '^kitty')
if [ $exit ]; then
sock="unix:/tmp/$exit"
/usr/local/bin/kitty @ --to $sock launch --type=tab --cwd $1 --no-response && open -a kitty
else
open -a kitty --args $1
fi
The core issue of the current workings is that opening a directory via the app results in a new kitty app instance. This results in two apps open. The tab thing is something unrelated to the problem.
Summarize this feature
launch kitty in one instance new tab instead of new instance new windows
Why should this feature be included?
We would like to open kitty terminal in one instance instead of multiple instance windows
Additional information
kitty could be opened with single instance with
-1 --instance-group xxx
parameters.