On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin <cygwin@cygwin.com> wrote:
> Just an idea: Could the default background color of the Cygwin console > be changed from black to grey (or RED) if the terminal has been > started with Administrator rights? > Assuming that: 1. The Administrators group is called "Administrators" 2. There aren't any non-administrative groups with "Administrators" in the name 3. You're using mintty for your terminal You can run the following in bash or zsh with the desired RGB values: if [[ `id -Gn` == *Administrators* ]] then echo -ne "\e]11;#FFBBEE\a"; fi -Jonathon -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple