da-rth / yasb

A highly configurable cross-platform (Windows) status bar written in Python.
MIT License
1.39k stars 81 forks source link

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

Open bluckholl opened 11 months ago

bluckholl commented 11 months ago

Expected Behavior

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

Current Behavior

exception: bars:

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!

nahid6970 commented 5 months ago

having the same issue did u resolved it?

bluckholl commented 5 months ago

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