Experimenting with Gtk+ theme variants: Adwaita red

Most Gtk+ themes offer a “light” and a “dark” variant, however I found out that these names are just conventional: a Gtk+ theme can define variants with arbitrary names, so maybe this can be used for some fun stuff.

I set up a proof of concept: I defined a “red” variant and used it to restyle windows when the user is operating as root, Timm Bäder told me that someone from Elementary OS has come up with this idea already but I didn't find a practical demonstration, so here it is:

The code to set the variant when the root shell is executed can be found in the patch.


CommentiCondividi contenuti

Invia nuovo commento

Il contenuto di questo campo è privato e non verrà mostrato pubblicamente. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Indirizzi web o e-mail vengono trasformati in link automaticamente
  • Elementi HTML permessi: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Linee e paragrafi vanno a capo automaticamente.

Ulteriori informazioni sulle opzioni di formattazione

CAPTCHA
Questa domanda serve a verificare che il form non venga inviato da procedure automatizzate
x
v
Q
Q
f
k
Enter the code without spaces.