Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DavJenkins opened this issue Oct 18, 2019 · 4 comments
Open

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

DavJenkins opened this issue Oct 18, 2019 · 4 comments
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Milestone

Comments

@DavJenkins
Copy link

DavJenkins commented Oct 18, 2019

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.

@DavJenkins DavJenkins added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Oct 18, 2019
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Oct 18, 2019
@DHowett-MSFT DHowett-MSFT added Area-Settings Issues related to settings and customizability, for console or terminal Product-Terminal The new Windows Terminal. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Oct 21, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Oct 21, 2019
@DHowett-MSFT
Copy link
Contributor

This is related to #3062.

@trajano
Copy link

trajano commented Jan 3, 2023

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

@mhechthz
Copy link

mhechthz commented Aug 9, 2023

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

@zadjii-msft
Copy link
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

5 participants