Skip to content

Smart Auto-Hide Behavior: Always Visible on Desktop/Minimized Apps, Auto-Hide on Fullscreen #890

@x0010100

Description

@x0010100

What is the request?

I'm always frustrated when I have to manually switch between "Always Show" and "Auto Hide" modes depending on what I'm doing.
I want YASB to have a smarter, automatic behavior for its visibility:

  • When I'm on the desktop (no windows focused) or all windows are minimized, YASB should always stay visible (like always_show: true).

  • As soon as any application goes fullscreen (e.g. games, videos, browsers in fullscreen mode, etc.), YASB should automatically enable auto-hide until the fullscreen window is exited.

Why is it useful?

This would make YASB behave much more intelligently and closer to how the native Windows taskbar (or modern custom bars like in Linux) works in practice.

  • On the desktop or when working with normal windows → the bar is always accessible.
  • In immersive fullscreen apps (games, movies, presentations) → the bar cleanly hides itself without any manual intervention.

It greatly improves the user experience for people who use both productivity workflows and fullscreen applications.

How could it be implemented?

Add a new option in the bar configuration, for example:

bar:
  type: ...
  options:
    visibility_mode: "smart"          # or "always_visible", "auto_hide", "smart"
    # smart mode settings:
    always_visible_when: ["desktop", "all_minimized"]
    auto_hide_when: ["fullscreen"]

Alternatively, it could be implemented as two separate but linked settings:

  1. always_show_on_desktop_or_minimized: true

  2. auto_hide_on_fullscreen: true

YASB already detects fullscreen windows (for other features), so it should be possible to hook into the existing window state monitoring.

Additional context

This is a very common request pattern for custom bars (similar to how some polybar/waybar modules or Rainmeter/TranslucentTB setups work).
Many users (including myself) currently have to manually toggle the hide behavior or accept that the bar either always takes space or disappears at the wrong times.
If this feature gets added, it would be a big quality-of-life improvement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new functionality or an enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions