Skip to content

Blur not working on layers. #396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MRSS02 opened this issue Mar 9, 2025 · 10 comments
Open

Blur not working on layers. #396

MRSS02 opened this issue Mar 9, 2025 · 10 comments
Labels
bug Something isn't working

Comments

@MRSS02
Copy link

MRSS02 commented Mar 9, 2025

@MRSS02 MRSS02 added the bug Something isn't working label Mar 9, 2025
@ErikReider
Copy link
Collaborator

Does this work? layer_effects "rofi" blur enable

@MRSS02
Copy link
Author

MRSS02 commented Mar 10, 2025

i have that on my config, it's not working:

layer_effects "waybar" blur enable; blur_ignore_transparent enable; blur_brightness 0.75; corner_radius 6
layer_effects "gtk-layer-shell" blur enable; blur_ignore_transparent enable; blur_brightness 0.75; corner_radius 6
layer_effects "nwg-dock" blur enable; blur_ignore_transparent enable; blur_brightness 0.75; corner_radius 6
layer_effects "swaync-notification-window" blur enable; blur_ignore_transparent enable; blur_brightness 0.75; corner_radius 6
layer_effects "swaync-control-center" blur enable; blur_ignore_transparent enable; blur_brightness 0.75; corner_radius 6
layer_effects "rofi" blur enable; blur_ignore_transparent enable; blur_brightness 0.75; corner_radius 6

none of these layers' blur work now. Before, on version 0.4, they all worked, except for rofi.

@JohannesBarjak
Copy link

For what it's worth, blur also isn't working in my config, even with layer_effects "waybar" blur enable.

@linavixx
Copy link

linavixx commented Mar 14, 2025

Seems to work fine for me on swaybar, rofi and dunst. Maybe try removing the brightness options? Layers only allow to either enable or disable it, no further customization as they're following your primary blur setup.

@ErikReider
Copy link
Collaborator

Can you run and post the output of swaymsg -r -t get_outputs?

@JohannesBarjak
Copy link

Actually, blur is working for me. I had previously switched to upstream sway and I disabled blur in waybar. I only forgot to enable it after.
swaymsg -r -t get_outputs has the waybar layer named as 'waybar' for me.

@JohannesBarjak
Copy link

The reason I came across this issue is black corners were visible in my bar, which has rounded corners defined in CSS. After enabling blur the black corners disappear, although I am no longer sure if my issue is relevant here or if it is an issue in swayfx. I could try reverting to 0.4 and seeing if it persists.

@MRSS02
Copy link
Author

MRSS02 commented Mar 27, 2025

Seems to work fine for me on swaybar, rofi and dunst. Maybe try removing the brightness options? Layers only allow to either enable or disable it, no further customization as they're following your primary blur setup.

i tested now without the customizations - now it works; but i of course lost all customizations, which were crucial to me and were fully working on the previous version. Now i simply lost a feature?

@ErikReider why this regression?

@MRSS02
Copy link
Author

MRSS02 commented Mar 27, 2025

Seems to work fine for me on swaybar, rofi and dunst. Maybe try removing the brightness options? Layers only allow to either enable or disable it, no further customization as they're following your primary blur setup.

oh btw, it still doesn't work for rofi for me, even after removing the brightness option, but that was not working before either. Any idea why?

@linavixx
Copy link

linavixx commented Mar 27, 2025

oh btw, it still doesn't work for rofi for me, even after removing the brightness option, but that was not working before either. Any idea why?

Not sure. What is your rofi version? I'm on rofi-wayland from Arch repo.

Also I doubt layer effects ever allowed to customize the trivia (brightness, shadow radius etc), but I'm not sure.

edit: just to check, did you specify transparency in rofi's config (like adding a transparency value to background color's hex code or RGBA)? swayFX can't blur non-transparent layers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants