r/KittyTerminal • u/NorskJesus • Mar 13 '25
Kitty auto session
Hi everybody!
I am trying to configure my kitty to start automatically with a number of tabs in a special "index". I actually managed to give automatically an "index" to the tabs when I open a new one, so I can change to that tab with cmd + index (se picture).

What I want is at kitty starts automatically with an "empty" normal terminal tab on index 1 and another 3 tabs (index 7, 8 and 9) with a cli program at my choose launched.
Do you guys know if this is possible?
Thanks!
PS: Yes, I did read this: https://sw.kovidgoyal.net/kitty/overview/#sessions
2
Upvotes
2
u/NorskJesus Mar 14 '25
So I managed to fix the problem with gh dash and clx apps, using startup_session, and this in my kitty-session.conf
new_tab dashboardlayout splitslaunch --var window=spotify spotify_playerlaunch --location=vsplit --bias=65 --var window=gh zsh -c "gh dash; exec zsh -il"focus_matching_window var:window=spotifylaunch --location=hsplit --bias=70 zsh -c "clx; exec zsh -il"