Closed bllngr closed 8 years ago
Yeah, that's impossible. The webapp's headerbar is still Web/Epiphany's.
The multi-coloured headerbars in Paper is simply due to some significant hackery & poking around that I've done.
So how are you actually finding the element names for the headerbars on a per-app basis? Havf you been digging in the code? I was trying to change nuvola3's headerbar color this morning and I thought xprop would help me. I was veryvery wrong.
To the OP. You can actually get a real nice Paper effect through the use of the "fabtabs" extension on firefox and significant css hackery. Fabtabs grabs a quick screenshot of a page and pulls out the dominant color, and colors the tab. Unfortunately it comes with a bunch of gradient cruft that needs to be userstyled out.
Recolouring is sometimes possible based whether or not an application has a unique top-level Gtk class/name
Closing this
In Fedora, it's possible to install Web apps based on Epiphany's kiosk mode using GNOME Software (rhbz#710112. These install as desktop files in
~/.local/share/applications/epiphany-*.desktop
, which include this line:The WM_CLASS can be queried using:
I don't know if it's possible, but it would be great if the
WM_CLASS
could be used for styling the header bars with indivual colors based on the Web app, similar to Lollipops recent apps view:More information: https://blogs.gnome.org/xan/2011/08/31/web-application-mode-in-gnome-3-2/ https://bugzilla.gnome.org/show_bug.cgi?id=710112 https://askubuntu.com/questions/367396/what-represent-the-startupwmclass-field-of-a-desktop-file