Skip to content

Conditional settings - i.e. different colors when Administrator #3246

Open

Description

@DavJenkins

Description of the new feature/enhancement

As a user, it would be nice to be able to specify different color schemes based on some conditions.

For decades (ever since an errant recursive remove command executed as root) I have used light cyan on dark blue for normal command windows and bright white on red when I am operating as root or Administrator just to remind myself to be extra careful.

Proposed technical implementation details (optional)

This notion could be generalized as conditional profiles (or conditional attributes within a profile) to be applied when a specified expression evaluates to true. Conditional profiles (and/or attributes) would be guaranteed to be applied after all unconditional ones so they would override any default specifications, thus eliminating the need to add "else" or inverted duplicate conditionals. Order of evaluation/application of conditionals would be undefined (or, if you really want to get wild, they could be prioritized then undefined ordering among equal priorities).

When invoked as Administrator, any profile or attribute that was tagged as conditional based on having Administrator access would be applied; otherwise not. In my use case, any window I opened as me would be pleasantly colored while any window opened as Administrator would be "remember you're ROOT, stupid!" colored.

Activity

  1. added
    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.
    on Oct 18, 2019
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Oct 18, 2019
  3. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Oct 18, 2019
  4. added
    Area-SettingsIssues related to settings and customizability, for console or terminal
    and removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Oct 21, 2019
  5. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Oct 21, 2019
  6. DHowett-MSFT commented on Oct 21, 2019

    @DHowett-MSFT
    Contributor

    This is related to #3062.

  7. trajano commented on Jan 3, 2023

    @trajano

    In my dup #14593 I added a proposal on how it would be implemented.

  8. mhechthz commented on Aug 9, 2023

    @mhechthz

    Any new development on this? I also would really appreciate this.

  9. zadjii-msft commented on Aug 10, 2023

    @zadjii-msft
    Member

    Nope. We'll make sure to update this thread when there is. In the meantime, might I recommend the Subscribe button?
    image
    That way you'll be notified of any updates to this thread, without needlessly pinging everyone on this thread ☺️

    #11111 has also become a bit of a megathread tracking all these topics.

  10. layely commented on Jul 25, 2026

    @layely

    I was looking to differentiate my admin and non-admin Windows and copilot pointed me out this :)
    Loud upvote since it's a been while without movement here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SettingsIssues related to settings and customizability, for console or terminalIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions