Different color schemes in URxvt

colorsrxvt

I would like to be able to switch between a light and dark color scheme in an existing rxvt-unicode terminal window, in the same vein as switching profiles in gnome-terminal.

Would the best way to do this be to define the colors in a script outside of .Xresources?

Best Answer

If you want to switch profiles just like gnome-terminal (or konsole), that is making changes to a running terminal. xrdb will not do that.

If you want to change the foreground/background default colors, you can use the xterm dynamic colors escape sequences (which rxvt-unicode implements, as I noted in Urxvt: change background color on the fly).

Related Question