[FEATURES REQUEST ]: window shadow
Hi,
Describe the feature There is something I would really like to add to my desktop theme to make it even more sophisticated and personalized and I would like to share it with you, it is window shadow, I would like to be able to add a shadow behind the current window to give it a floating effect when I focus on it, if possible some option to adjust the projection of the shadow, like the distance between the shadow and the window as well as the angle of propagation of the shadow to be able to decide the position of the shadow relative to the window.
Thanks.
Hello,
I would like to be able to add a shadow behind the current window to give it a floating effect when I focus on it,
From what I see, there is already shadow behind the current window in Gnome. Though the floating effect, not as much, it is more of a diffused shadow all around. The shadow is actually made up of several shadows in layers to accomplish a smooth effect, typically 5 - 6 shadows. Each one has 5 parameters other than color. That ends up being too many params to tweak if we want to adjust the projection angle and distance. There are some ways to auto-compute the params from the projection details but I haven't looked into it. A good floating effect should also consider the background color and incorporate it in the shadows but in our case background will be dynamic. Additionally, the shadows are only applicable for Light theme, they don't make much difference in Dark mode. TL;DR it is a bit more involved for the benefit to gain.
Let me try to fiddle with and create a shadow effect that is more aligned with floating window but without the projection adjustment. You can then try if that works better. I will let you know here.
Let me try to fiddle with and create a shadow effect that is more aligned with floating window but without the projection adjustment. You can then try if that works better. I will let you know here.
There is now an option for a modified shadow in the Gtk/Flatpak apps section in the latest version available in main branch here on GitHub. The Gtk section has been updated a bit along with some other enhancements e.g. ability to interact with panel buttons without having to precisely point on it.
Please try it out by installing the extension by downloading from the main branch and let me know about any feedback you may have.
Please try it out by installing the extension by downloading from the main branch and let me know about any feedback you may have.
it really good all new features added, specially for hint color customization, i just hope that window shadow settings will be more advanced.
might be good to see options like this :point_down:
it really good all new features added, specially for hint color customization,
:+1:
might be good to see options like this 👇
Yeh, though it is a bit more involved due to multiple shadows as mentioned earlier. Option to be able to choose the light source position relative to the window might be ideal but it would be something to look into, in the future.
take your time, I'm sure that in your hands, the final result will be much more than breathtaking,