cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

Please consider switching from ron to toml for config files

Open wiiznokes opened this issue 2 months ago • 4 comments

Config files in COSMIC are plain text so that users can edit them manually.

I think we should consider a more user friendly language for it.

toml has a stable syntax that is well documented. Famous software already use it for configuration like Rust, Helix or Hyprland(at least a little i think).

advantages:

  • popular / great tooling / rust support
  • nested structure scale well horizontally (imo)
  • people know toml in general

In this reddit post, you can see that Toml wins:

1. Toml: 1400
2. Json: 795
3. Yaml: 774
...
6 and last. Ron: 76

wiiznokes avatar Apr 20 '24 22:04 wiiznokes