You are not logged in.

#1 2022-10-24 08:13:47

Noobie
Member
Registered: 2022-10-24
Posts: 1

Eww stacking "bg" not working

Hello there,

I am having problem with eww widget, i have a eww bar at the top of the screen. I want the bar to go behind the window when i am on full screen mode.

Currently i am using BSPWM as my window manager. The bar get behind the window (most of the time, sometimes it just get infront of the window) when i reboot the laptop. But where every time i restart my window manager, the eww bar always stay at the foreground (at the top of the window).

(defwindow bar1
          :monitor 0
          :geometry (geometry :x "0%"
                       :y "4px"
                       :width "99%"
                       :height "20px"
                       :anchor "top center")
          :stacking "bg"
          :windowtype "dock"
          :wm-ignore false
(bar_1))

Note stacking "bt" also doesnot solve the problem

I looked at the eww log and i saw no error. Hope i get help from here.

Thank you

Offline

#2 2022-10-26 11:43:13

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Eww stacking "bg" not working

I wonder if you will get much response here. Maybe you are better off if you ask in upstream's issue tracker. BTW. I tried to reproduce your issue but failed. I do not even get a bar at all.

Offline

#3 2022-10-26 11:56:10

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Eww stacking "bg" not working

Moving to AUR issues.

Offline

#4 2024-02-25 06:37:08

TheLastTeapot
Member
Registered: 2022-11-25
Posts: 3

Re: Eww stacking "bg" not working

Hi, I'm sure you figured it out by now, but I think what you need to do is add ":exclusive true" to the window arguments, and set ":stacking "fg". So like this:

(defwindow bar1
          :monitor 0
          :geometry (geometry :x "0%"
                       :y "4px"
                       :width "99%"
                       :height "20px"
                       :anchor "top center")
          :stacking "fg"
          :exclusive true
          :windowtype "dock"
          :wm-ignore false
(bar_1))

Hope this helps, it you haven't got it already!

Offline

Board footer

Powered by FluxBB