searleser97 / cpbooster

Competitive Programming Booster
GNU General Public License v3.0
144 stars 30 forks source link

run kitty with --single-instance flag #88

Closed cobcobs closed 1 year ago

cobcobs commented 1 year ago

Running a single instance of kitty using this flag reduces startup time, albeit negligibly. More importantly, it avoids polluting the Dock of MacOS systems with multiple copies of kitty.

searleser97 commented 1 year ago

Could you provide a solution that also support users preferring to have multiple instances of kitty running ?

cobcobs commented 1 year ago

I am not sure if that is possible with the current format of EditorCommandBuilder.ts unless I include a separate case for a single instanced kitty. However, I do not believe that the current implementation should have any negative effect on those who normally run kitty without --single-instance.

Let me know what you think. Thank you.

searleser97 commented 1 year ago

I am not sure if that is possible with the current format of EditorCommandBuilder.ts unless I include a separate case for a single instanced kitty. However, I do not believe that the current implementation should have any negative effect on those who normally run kitty without --single-instance.

Let me know what you think. Thank you.

Alright, lets go with it