da-rth / yasb

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

Fix indentation in default config #126

Closed Abban-Fahim closed 6 months ago

Abban-Fahim commented 6 months ago

Yes, it is a low-quality PR. But it really is a confusing error for someone trying out YASB for the first time.

Description

To reproduce, just copy the existing config.yaml into your own config, and the following error will occur:

Yasb - Yet Another Status Bar
The config file 'C:\Users\<User>\.yasb\config.yaml' contains validation errors. Please fix:
widgets:
- traffic:
  - null value not allowed

User config file could not be loaded. Exiting Application.

Related Issue

Testing

Abban-Fahim commented 6 months ago

Actually never mind, there's multiple PRs already proposing this fix. I'll just close this...