

Set it to do get requests rather than post.
Set it to do get requests rather than post.
You’re right about the background. That was me going catch-all while testing. I’ll set background-color only for a while and observe how that works.
I assumed background-color would be inherited when marked !important
since I haven’t seen that noted anywhere on MDN or similar.
I want the entire background of any webpage to be transparent. Like this user had here..
For me, inheritance doesn’t work as you described. Inner level rules don’t always inherit from outer levels (I think if an inner background-color is set equal to a variable, it doesn’t inherit it’s parent’s background). Setting root background doesn’t affect body, setting body background doesn’t effect elements further down the tree (e.g. a lemmy post will still have a background color while it’s surroundings are transparent).
I can achieve what I want by setting the rule globally with:
* {
background: transparent !important;
background-color: transparent !important;
}
The problem with this approach is I don’t actually want 100% transparency. I want at least above 75% to keep the content readable. However, with something like this:
* {
background: #00000080 !important;
background-color: #00000080 !important;
}
overlapping elements’ transparency stack and create regions with different opacities all over the page.
edit: writing this game me an idea and combining the two works:
* {
background: transparent !important;
background-color: transparent !important;
}
body {
background: #00000080 !important;
background-color: #00000080 !important;
}
I think the problem comes from !important
not working as expected for me. Your html:root
doesn’t work on my setup because most websites set background on body
and that somehow overrides html:root
despite the !important
. Similarly, if I set it in the body, background
or background-color
set in lower levels still override my usercontent (again, despite me using !important
). That’s causing the webpage to have some transparent bits but a lot of elements will have regular opaque backgrounds. Any ideas?
PS I don’t have anything else in userContent.css or any extension that’s setting CSS rules.
Your userContent.css didn’t work for me but body { background: transparent ; }
does.
Although obvious in hindsight, on many sites, most of the webpage content isn’t actually background so it is going to take a lot of per-site CSS to get transparent webpages.
Yes, turns out Hyprland doesn’t support per-window shaders and applies them after rendering so can’t do transparency with them.
Please see my response to the other comment. I could use the help if you know about shaders.
So, I’ve Googled my way to a very simple example to test how this’d work. However, the example below basically doesn’t have any effect. (Setting pixColor[1] = 1.0;
makes everything green so the shader is loaded correctly).
precision highp float;
varying vec2 v_texcoord;
uniform sampler2D tex;
void main() {
// get the pixel color
vec4 pixColor = texture2D(tex, v_texcoord);
// change the alpha
pixColor[3] = 0.75;
// set the pixel color
gl_FragColor = pixColor;
}
Since I don’t know anything about shaders, before I open an issue on Hyprland, is this how you’d set the alpha of each pixel on a screen?
I suspect this might not be possible in Hyprland after all as it doesn’t natively support per-window shaders. IIUC, Hyprland applies the shader after it composits so there’s technically nothing behind the window I’m trying to make transparent.
I am using Hyprland but it also supports custom shaders. I might give this a try, thanks.
I want to version control some of my drives
Yep, dozens of people use Fediverse. I’m sure this’ll be very popular.
Everybody’s bashing snaps but you can literally package drivers as snaps. If you don’t think that’s cool af I don’t know what is.
Isn’t that client dependent?
Do you mean it works on a Linux phone or is it available on Android?
It’s so fucking dumb that an application can just decide to bypass system-wide dns resolution.
Any news on QT theming within COSMIC? I’m loving the simple GTK theme it generated for me. I could never find a fitting GTK theme, can’t wait to apply the same to QT applications.
That’s the one. Thanks.
you’re trying to RTFM me but you don’t even know which manual might contain this information. It’s man 8 systemd-fstab-generator
. I know because I read it before I asked the question.
No need to get all Descartes about this. It’d be really trivial to prove mics are on 7/24.
That image would make a great wallpaper without the project’s name on it.