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

Move Config to Toml / or allow toml configuration #433

Open
Daholli opened this issue Nov 4, 2024 · 0 comments · May be fixed by #788
Open

Move Config to Toml / or allow toml configuration #433

Daholli opened this issue Nov 4, 2024 · 0 comments · May be fixed by #788
Labels
enhancement New feature or request

Comments

@Daholli
Copy link

Daholli commented Nov 4, 2024

Is your feature request related to a problem? Please describe.
while nixifying my current configuration I came across the issue hat the json config just uses strings as keys, rather than nested configs

such as

  "menus.dashboard.shortcuts.left.shortcut1.command": "",
  "menus.dashboard.shortcuts.left.shortcut1.icon": "",
  "menus.dashboard.shortcuts.left.shortcut1.tooltip": ""

instead of

"menus" : {
  "dashboard" : {
    "shortcuts" : {...}
  }
}

This leads to lots of pain when trying to adjust things in text

Describe the solution you'd like
When using toml all of this looks a lot nicer and should still be very easy to generate and adapt on the fly (I will look into this maybe open a pr if I manage to get it working)

scalingPriority = "hyprland"
tear = true

[bar]
scrollSpeed = 0

[bar.clock]
format = "%a %b %d  %H:%M:%S"

[bar.customModules.cpu]
icon = ""
label = true
leftClick = "kitty --hold btop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants