tbh compositor and browser fuckery was more of a pain in the ass on x11. wanted to do some wayland fuckery for a while and turns out its not that hard
Top-level
tbh compositor and browser fuckery was more of a pain in the ass on x11. wanted to do some wayland fuckery for a while and turns out its not that hard 11 comments
@49016@mastodon.catgirl.cloud is it running a custom compiled firefox, that is somehow telling x11/wayland that its background color is transparent? how can one even define what a "background" is?... and not confused it with a similar color in images and such. this feels somewhat reminiscent to how
yes! browser.tabs.allow_transparent_browser and a bit of userchrome styling and the fucker goes transparent here's the fun part though: the actual backgrounds on the website get removed by the compositor, not the browser, by running a chroma key shader on the windows that keys after a color picked from the browser browser.tabs.allow_transparent_browserwoah. does that only work for userchrome, or can a regular website also make itself transparent? @green thats the fun part: the browser UI is just a regular ol browser. if the UI can do it, a webpage can do it too. in fact, it has the default background on webpages set to transparent, which just makes everything transparent by default lol @green shift ctrl alt i. needs to be enabled in the devtools settings first though @49016 oh. i can't press this, because shift+alt is bound to switching the keyboard layout... @49016 it's, almost working. i feel like i should do |
(and no, this isn't limited to just mastodon; everything is automagically transparent)