feat: option to auto-hide the bar with edge hover reveal

- Keep bar as overlay while auto-hide is enabled (WlrLayershell.exclusionMode: Ignore) to avoid compositor relayouts and work-area changes.

- Add 1px edge "peek" PanelWindow overlay to reveal on hover;

- Animate bar with directional slide.
This commit is contained in:
dwuggh
2025-10-12 02:33:24 +08:00
parent c487f1982e
commit 62000eec1e
4 changed files with 191 additions and 1 deletions
+8
View File
@@ -120,6 +120,14 @@ ColumnLayout {
onToggled: checked => Settings.data.bar.floating = checked
}
NToggle {
Layout.fillWidth: true
label: "Auto Hide"
description: "Automatically hide the bar when not in use."
checked: Settings.data.bar.autoHide
onToggled: checked => Settings.data.bar.autoHide = checked
}
// Floating bar options - only show when floating is enabled
ColumnLayout {
visible: Settings.data.bar.floating