Toqozz / wired-notify

Lightweight notification daemon with highly customizable layout blocks, written in Rust.
MIT License
608 stars 28 forks source link

Default config missing new required `notifications_spawn_paused` field #88

Closed LordMZTE closed 2 years ago

LordMZTE commented 2 years ago

Not sure if the bug is that the default config doesn't have this set, or that the property isn't optional, but it's one of them. Here's wired's output:

Found a config file: /home/lordmzte/.config/wired/wired.ron, but couldn't load it, so will use default one for now.
If you fix the error the config will be reloaded automatically.
        Error: Problem with config file: missing field `notifications_spawn_paused`

thread 'main' panicked at 'Failed to load default config.  Maintainer fucked something up.
: Ron(Error { code: Message("missing field `notifications_spawn_paused`"), position: Position { line: 0, col: 0 } })', src/config.rs:430:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

(lol)

Toqozz commented 2 years ago

Oops, yep I'll fix that soon.