Skip to content
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

Can you remove the background-blur? #81

Open
Acisama opened this issue Aug 23, 2024 · 11 comments
Open

Can you remove the background-blur? #81

Acisama opened this issue Aug 23, 2024 · 11 comments

Comments

@Acisama
Copy link

Acisama commented Aug 23, 2024

I have an eww-bar and I can space it so the overview is below the bar, but the bar gets blured and I found no way to not have it blur the background.

@KZDKM
Copy link
Owner

KZDKM commented Aug 25, 2024

Currently this is not an option, I will add this later.

@myamusashi
Copy link
Contributor

image

Is this what you expected or no?

@Acisama
Copy link
Author

Acisama commented Sep 5, 2024

Thanks, that was exactly it!

@zstg
Copy link

zstg commented Sep 26, 2024

image

Is this what you expected or no?

Do you mind showing how to obtain transparency?

@myamusashi
Copy link
Contributor

image
Is this what you expected or no?

Do you mind showing how to obtain transparency?

I simply edited renderRectWithBlur in Render.cpp

@zstg
Copy link

zstg commented Sep 27, 2024

Hmm, I tried building it with yours and it didn't work. I'll send a pic of my bar and my config when I can.

@myamusashi
Copy link
Contributor

myamusashi commented Sep 27, 2024

You can see my fork or just instal it with hyprpm

@zstg
Copy link

zstg commented Sep 27, 2024

I am using your fork (installed it via Hyprpm, and I updated as I'm typing this). Here's the relevant plugin config:

    overview {
       enabled = true
       # panelColor = rgba(292f3aff)
       workspaceActiveBorder = rgb(5c64f1)
       # workspaceInactiveBorder = rgb(769ff0)
       # reservedArea = -1
       workspaceMargin = 20
       panelBorderRadius = 200
       autoDrag = 1
       centerAligned = 1
       # onBottom = 1
       drawActiveWorkspace = 1
       exitOnClick = 1
       switchOnDrop = 1
       adaptiveHeight = 1
       exitOnSwitch = 1
       showNewWorkspace = 0
       showEmptyWorkspace = 1
       dragAlpha = 0.5
       panelHeight = 130
       # hideBackgroundLayers = 1
       hideTopLayers = 1
       hideOverlayLayers = 1
       hideRealLayers = 1
       affectStruct = 1 
       disableGestures = 1
  }

panelColor, when unspecified or not, gives me a black background as shown here. Apologies for the poor image quality, I couldn't take a screenshot and so ended up snapping a pic on my phone..
image

If this was indeed transparent Waybar should show up like so:
image, but it does not. In case I need to share something more substantial @myamusashi let me know and I could contact you via Discord.

@zstg
Copy link

zstg commented Sep 27, 2024

Setting the colour to rgba(2923aff) works just fine, the desired colour shows up with full opacity. Setting the alpha to 00 simply renders the above black screen...

Clearly rgba(41, 47, 58, 0) should give me a transparent output, but setting it gives me said black screen.

Setting another colour like rgb(97,175,239) works just fine

@myamusashi
Copy link
Contributor

myamusashi commented Sep 27, 2024

Add disableBlur = true/false.

dragAlpha                   = 0.5
panelColor                  = rgba(14, 20, 25, 0.8)
panelBorderColor            = rgb(243, 139, 168)
disableBlur                 = true

@zstg
Copy link

zstg commented Sep 28, 2024

Thanks! Configuring waybar on the bottom layer made it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants