Skip to content

Some great animations request and fixes for yasb #762

@TheGamer1445891

Description

@TheGamer1445891

What is the request?

it would be great if yasb have a widget mouse hover animation (like windows 11 taskbar task list buttons animation),

and a way to make the docked (floating) bar becomes full when a window is maximized and bar is not on auto-hide like kde plasma's top bar (and have a transition animation) and also make the bar hides when maximized as an option in config.yaml like how it hides when fullscreen.

also, the bar auto-hide animation is cutoff when a padding is added to the bar on the config.yaml file.

Why is it useful?

for the widgets mouse hover animation, it will be very useful for themes that needs tons of animation for a better fluid experience (rather than an instant hover changes).

and for the "floating bar becomes full when maximized", it is very great and useful for themes that are docked and is very ugly when in fullscreen because it will leave an empty space when a window is maximized (no auto-hide).

now for the "bar auto-hide animation is cutoff when bar has an added padding in the config.yaml file", its just for making auto-hide animation not looking weird.

How could it be implemented?

for the widget hover animation, the config should just be the same as appearing & dissapearing animation but for mouse hover (its like fading to the hover state style.css)

and for the ""floating bar becomes full when maximized", the config should be like this:

bars:
    padding:
      top: 6
      left: 6
      bottom: 6
      right: 6
    blur_effect:
      enabled: true
      acrylic: false
      dark_mode: true
      round_corners: true
      border_color: "none"
    window_flags:
      always_on_top: true
      windows_app_bar: true
      auto_hide: false
      hide_on_fullscreen: true
      full__when_maximized: true  # this is the new one. it will set the "rounded corners" to false and paddings set to 0
      hide_on_maximized: # same as "hide_on_fullscreen"

Additional context

No response

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