[Sawfish] Managing auto-hiding panels more effectively? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: [Sawfish] Managing auto-hiding panels more effectively?
- From: Rafal Kolanski <xs@xxxxxxxx>
- Date: Fri, 1 Apr 2022 15:41:19 +1100
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xaph.net; s=x; h=Content-Transfer-Encoding:Content-Type:Subject:From:To:MIME-Version: Date:Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=OJWC77aM4UjLksTxM66ZJO3cE0hOvBrtS5ps3DkXTiI=; b=o SmML7kqpd9nRrUUFV2cv0UmAHS3Brm0qwlvNYdHvUzA8iJ0mUWM4pe5NtWOsrjX+8wjj4xka2NXRL GhFQ4XQRVb+nRv8NfLLMBhqVbxHhoTwdpFal6Us1D7Z3PPkcsq3jlByoyvT0mbUg5IYZaoITNMndW 79h6yC2dKoAKvKkcbly3YZbtDQVUQsrkowvJtfZy8t2GT6fhDDnXHqtd0yIFDzwGybOSLgnVDTRwR hFJvm/67Ud+oC2+6iiAX83NjeHt8tigbcZzW5A5GMVj78vkvaGnPgcbA/8mT5+ILNub1jyI7cUyU8 2k4xXv/9qAlsi4aKhqa39gg9u2nrdLRRw==;
Hi,
I like to have my panels automatically hide, and reappear when I mouse
over the monitor's top/bottom edges. I have gotten this to work
more-or-less, but there are downsides and I'd welcome input from some
more experienced sawfish users.
Here's what I currently do in match-window-profile:
(((WM_NAME . "^xfce4-panel$")
(WM_CLASS . "^Xfce4-panel/xfce4-panel$"))
(depth . 15)
(never-focus . #t)
(avoid . #f))
This means that I can never focus the panel (so moving mouse away will
always hide it), window placement is not affected by the panel (whatever
size it is), I can't alt-tab cycle to the panel, and I can always
reach the edge of the hidden panel because it's on top of everything.
It's that last bit that's annoying: if the panel is on top of
everything, then opening a video with mpv and going full-screen leaves
the hidden panel visible on top of the full-screen video. Same goes for
a frameless terminal that's flush with the top of the screen.
Do any of you have a more sensible idea for auto-hiding panels? My most
promising idea at present is to use edge actions to bring it to the top,
but I've not used edge actions before.
Many thanks,
Raf.
--
Sawfish ML