this post was submitted on 27 Oct 2023
7 points (88.9% liked)
Arch Linux
7725 readers
24 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That class expression is probably not correct. Can you share some examples of what the initialClass is for your thorium windows?
You can find this info by executing the following command in bash:
hyprctl clients
If you want to rule out an issue with transparency, you can do something like this to manually set it and see:
hyprctl setprop address:0x[ADDRESS] alphainactive 0.5
. Note that you need to supply the window address, which can also be found using the aforementionedhyprctl clients
command.For example, if the command prints this out...
... then the command to manually set the transparency would look like this:
hyprctl setprop address:0x55fc96242940 alphainactive 0.5
I got the opacity rule to work for Thorium by running
hyprctl clients
and getting the correct class, which isThorium-browser
. However, it also makes videos and pictures transparent, which is kind of annoying.I think you'd have to configure transparency from within Thorium, Hyprland can't know what part of the window is media.