Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] bar "offset" attribute is not supported as described in src/config.yaml #108

Open
bluckholl opened this issue Nov 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bluckholl
Copy link

Expected Behavior

in order to support multiple bars, bar offset attributes should be supported

Current Behavior

exception:
bars:

  • yasb-bar:
    • offset:
      • unknown field

Possible Solution

support bar offset attribute

Steps to Reproduce

  1. add bars into config.yaml wil offset, such:
    bars:
    yasb-bar:
    enabled: true
    screens: ['*']
    class_name: "yasb-bar"
    alignment:
    position: "top"
    center: false
    blur_effect:
    enabled: false
    acrylic: false
    dark: false
    window_flags:
    always_on_top: false
    windows_app_bar: true
    dimensions:
    width: "100%"
    height: 32
    offset:
    x: 0
    y: 0
    padding:
    top: 0
    left: 0
    bottom: 0
    right: 0
    widgets:
    #left: ["komorebi_workspaces", "komorebi_active_layout", "active_window"]
    left: []
    center: ["clock"]
    right: []
  2. run yasb
  3. get exception

and thank you for the great peace of software!

@bluckholl bluckholl added the bug Something isn't working label Nov 9, 2023
@nahid6970
Copy link

having the same issue did u resolved it?

@bluckholl
Copy link
Author

No.
I stopped using yasb,
I switched to GlazeWM which has its own bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants