KZDKM / Hyprspace

Workspace overview plugin for Hyprland
GNU General Public License v2.0
454 stars 14 forks source link

Can you remove the background-blur? #81

Open Acisama opened 1 month ago

Acisama commented 1 month ago

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 commented 1 month ago

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

myamusashi commented 4 weeks ago

image

Is this what you expected or no?

Acisama commented 3 weeks ago

Thanks, that was exactly it!

zstg commented 6 days ago

image

Is this what you expected or no?

Do you mind showing how to obtain transparency?

myamusashi commented 5 days ago

image Is this what you expected or no?

Do you mind showing how to obtain transparency?

I simply edited renderRectWithBlur in Render.cpp

zstg commented 5 days ago

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 commented 5 days ago

You can see my fork or just instal it with hyprpm

zstg commented 5 days ago

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 commented 5 days ago

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 commented 5 days ago

Add disableBlur = true/false.

dragAlpha                   = 0.5
panelColor                  = rgba(14, 20, 25, 0.8)
panelBorderColor            = rgb(243, 139, 168)
disableBlur                 = true
zstg commented 4 days ago

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