The only thing I find interesting in Gnome is that the whole window decoration changes for their terminal when I su/sudo to root, as seen on this Fedora 41 Workstation live session on VBox:
If you use run0, which was introduced into systemd as an alternative way of elevating privileges earlier this year, then the background color of your terminal (eg. Konsole) will change:
I don’t know if there is a way to change the color of the entire window though.
How exactly does your special prompt affect the window decorations?
Your screenshot does not show that.
Your screenshot shows the prompt text changing (to red) when you enter su.
This is not what the thread is asking for … and it is already what happens without Liquid Prompt … or any special configuration. Just regular bash will turn red if you enter su.
(So I dont understand what you are trying to show, especially in relation to Liquid Prompt)
Uh. Yes.
Again, this has nothing to do with anything said here. Of course one can change their shell.
(As I have, and always would on a modern install, because zsh is silly.)
I use starship now and had sick complicated custom scripted prompts in the past. That is not what I asked about. I have red root prompt since the first shells supported ANSI sequences in prompts…
I think it may also be achieved by meddling with final prompt color change on any shell/console, however this method interferes with many ncurses apps.