Skip to content

feat(bar): configurable auto-hide reveal zone - #1256

Open
opeju wants to merge 1 commit into
amnweb:mainfrom
opeju:autohide-zone
Open

opeju wants to merge 1 commit into
amnweb:mainfrom
opeju:autohide-zone

Conversation

@opeju

@opeju opeju commented Nov 26, 2026

Copy link
Copy Markdown

Adds an auto_hide_zone bar option to control the zone that reveals an auto-hidden bar.

Why: the reveal zone is a fixed 1px strip across the full width, so the bar pops up when reaching for a maximized window's close button. Also, with auto_hide enabled the bar skips AppBar fullscreen notifications, so the zone stays on top of fullscreen games.

Options (defaults keep current behavior):

  • width: centered zone width ("5%" or px)
  • height: 1-50 px
  • visible: draw a small handle (hidden while the bar is shown)
  • color / radius: handle look
  • show_delay: ms before revealing
  • disable_on_fullscreen: hide zone/bar while a fullscreen window is in the foreground on the bar's monitor
window_flags:
  always_on_top: true
  auto_hide: true
auto_hide_zone:
  width: "5%"
  height: 4
  visible: true
  show_delay: 150
  disable_on_fullscreen: true

Docs: docs/Configuration.md
Tested: ruff, pyright, pytest (1682 passed); manual test on Windows 11.

🤖 Generated with Claude Code

Add an `auto_hide_zone` bar option to control the zone that reveals an
auto-hidden bar:

- width (centered, percent or px) and height
- optional visible handle (color, radius), hidden while the bar is shown
- show_delay before revealing
- disable_on_fullscreen: hide the zone/bar while a fullscreen window is
  in the foreground on the bar's monitor (auto_hide skips AppBar
  fullscreen notifications, so the zone used to stay on top of games)

Defaults keep the previous behavior (invisible 1px full-width zone).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant