You are not logged in.

#1 2026-05-07 22:20:44

sukolyn
Member
Registered: 2024-02-14
Posts: 158

dzen2 with herbstluftwm thin bar remains on hidden bar

hey

this doesn't belong to Arch but I don't get answer on dzen2 github

using latest herbstluftwm  and dzen2 available in repositories (through panel.sh) when dzen2 "togglehides" a thin line with dzen2's colors remains where dzen2 was.

it could be dzen2 border, but I can't get its parameters through herbstclient

Last edited by sukolyn (2026-05-07 22:21:59)

Offline

#2 2026-05-08 08:03:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,398

Re: dzen2 with herbstluftwm thin bar remains on hidden bar

https://github.com/robm/dzen/blob/488ab … ion.c#L386
I suspect that's to unhide on mouse entering.

Online

#3 Today 14:00:13

sukolyn
Member
Registered: 2024-02-14
Posts: 158

Re: dzen2 with herbstluftwm thin bar remains on hidden bar

ok.

dzen seems it isn't designed to be at the bottom of screen.
the line remains on top of dzen, whenever it is on top or at the bottom.
when dzen is on top, it doesn't bother ! hmm

can you imagine a way to get rid of this "scrollable zone", or to tell it to be at bottom ?

--
ps: sorry for late reply:  I forgot I posted here too.
shame on me. wink

Offline

#4 Today 18:26:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,398

Re: dzen2 with herbstluftwm thin bar remains on hidden bar

Ah, you mean the line isn't at the screen edge but offset by the height of dzen2 (so like 24px above the bottom of the screen)?

You'll need to use XMoveResizeWindow instead of XResizeWindow in the a_*hide functions, using dzen.*_win.y and dzen.line_height for relative vertical movements and maintaining dzen.*_win.y
https://tronche.com/gui/x/xlib/window/X … indow.html

Online

#5 Today 19:41:22

sukolyn
Member
Registered: 2024-02-14
Posts: 158

Re: dzen2 with herbstluftwm thin bar remains on hidden bar

Ah, you mean the line isn't at the screen edge but offset by the height of dzen2 (so like 24px above the bottom of the screen)?

yes, that's it.

You'll need to use XMoveResizeWindow instead of XResizeWindow in the a_*hide functions, using dzen.*_win.y and dzen.line_height for relative vertical movements and maintaining dzen.*_win.y

I can only guess this means downloading sources and recompiling the whole thing.

I don't have menu, so I don't need to deal with mouse entering.
I'm currently trying to `echo -n` ^lower() and ^hide() (and back ^raise() and ^unhide()), but wether I send one or the other (lower or raise) first, I get only one of these commands to do its work, not both

Offline

Board footer

Powered by FluxBB