Summon window and switch to profile #16369

Open
opened 2026-01-31 05:05:29 +00:00 by claunia · 1 comment
Owner

Originally created by @zadjii-msft on GitHub (Jan 11, 2022).

This is in response to an internal mail thread. I'm trying to read between the lines here, but here's the gist:

These users want different taskbar entries that when clicked, either open the terminal to a specific profile or launch that profile if it's not already running.

Example:

image

(let's ignore the jumplist entries for now, and focus on the 1, 2, 3 for different profiles)

So, how would that work?

Something like wt summon --profile foo?

  • summon is the globalSummon action
  • --profile foo indicating "look for the nearest pane with the profile foo, and focus that"?
    • If the active pane is that profile, just focus the terminal window
    • If its not, is there a pane in this tab with that profile
    • if not, is there any pane in the window with that profile
    • if not, open a new tab for foo

Closely related to #10279

Originally created by @zadjii-msft on GitHub (Jan 11, 2022). This is in response to an internal mail thread. I'm trying to read between the lines here, but here's the gist: These users want different taskbar entries that when clicked, either open the terminal to a specific profile or launch that profile if it's not already running. Example: ![image](https://user-images.githubusercontent.com/18356694/148972899-4387df87-2d00-40f8-8535-2d97974fddd4.png) (let's ignore the jumplist entries for now, and focus on the 1, 2, 3 for different profiles) So, how would that work? Something like `wt summon --profile foo`? * `summon` is the `globalSummon` action * `--profile foo` indicating "look for the nearest pane with the profile foo, and focus that"? * If the active pane is that profile, just focus the terminal window * If its not, is there a pane in this tab with that profile * if not, is there any pane in the window with that profile * if not, open a new tab for foo Closely related to #10279
claunia added the Issue-TaskProduct-TerminalArea-Windowing labels 2026-01-31 05:05:29 +00:00
Author
Owner

@DHowett commented on GitHub (Jan 11, 2022):

Conceptually, how much mileage would we get out of having tab names that are like window names?

You say, "give me tab raz_amd64" and it says "i brought the window to the front and focused the tab" or "i launched it according to your other arguments"

wt nt --id raz_amd64 -p Razzle - -p only applies if it must be created anew..? idk

@DHowett commented on GitHub (Jan 11, 2022): Conceptually, how much mileage would we get out of having _tab names_ that are like window names? You say, "give me tab `raz_amd64`" and it says "i brought the window to the front and focused the tab" or "i launched it according to your other arguments" `wt nt --id raz_amd64 -p Razzle` - `-p` only applies if it must be created anew..? idk
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16369