[PR #934] Add default icons for the default profiles #24414

Open
opened 2026-01-31 09:03:10 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/934

State: closed
Merged: Yes


This pull request introduces a handful of default icons whose paths will be
emitted into the default profiles.

Icons are named after the profile GUIDs, which for the default profiles
are stable v5 UUIDs based on the name of the profile. The plan is that
we'll never have a duplicate default profile, and if the user wants to
duplicate it they'll need to issue it a new GUID. Icons will by default
be unique for each profile (when the user saves their settings), but they
can of course be shared. It's just a file path.

Eventually, when icons can be inserted through the settings UI, we can
keep the GUID name (to unique them among all icons for all profiles) and
move them into ms-appdata:///roaming/.

The currently included icons are named for the following profiles:

"cmd" {0caa0dad-35be-5f56-a8ff-afceeeaa6101}
"PowerShell Core" {574e775e-4f2a-5b96-ac1e-a2962a402336}
"Windows PowerShell" {61c54bbd-c2c6-5271-96e7-009a87ff44bf}
"WSL" {9acb9455-ca41-5af7-950f-6bca1bc9722f}

The PowerShell profile names aren't being used yet, but this is in
preparation for #918 merging.

Fixes #933.

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/934 **State:** closed **Merged:** Yes --- This pull request introduces a handful of default icons whose paths will be emitted into the default profiles. Icons are named after the profile GUIDs, which for the default profiles are stable v5 UUIDs based on the name of the profile. The plan is that we'll never have a duplicate default profile, and if the user wants to duplicate it they'll need to issue it a new GUID. Icons will _by default_ be unique for each profile (when the user saves their settings), but they can of course be shared. It's just a file path. Eventually, when icons can be inserted through the settings UI, we can keep the GUID name (to unique them among all icons for all profiles) and move them into ms-appdata:///roaming/. The currently included icons are named for the following profiles: "cmd" `{0caa0dad-35be-5f56-a8ff-afceeeaa6101}` "PowerShell Core" `{574e775e-4f2a-5b96-ac1e-a2962a402336}` "Windows PowerShell" `{61c54bbd-c2c6-5271-96e7-009a87ff44bf}` "WSL" `{9acb9455-ca41-5af7-950f-6bca1bc9722f}` The PowerShell profile names aren't being used yet, but this is in preparation for #918 merging. Fixes #933. ## PR Checklist * [x] Closes #933 * [x] CLA signed * [x] Tests added/passed/not required * [x] Documentation updated/not required * [x] I've discussed this with core contributors already.
claunia added the pull-request label 2026-01-31 09:03:10 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24414