Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

from-ctl returns two objects. #17

Open
sjcobb2022 opened this issue Mar 8, 2024 · 1 comment
Open

from-ctl returns two objects. #17

sjcobb2022 opened this issue Mar 8, 2024 · 1 comment

Comments

@sjcobb2022
Copy link

When running

hyprkeys --from-ctl --json

I get the following output:

[
 /* ... my keybinds */
]
{} / * Extra random json object? */

It also outputs the table twice if I use the markdown option:

| Keybind | Locked | Mouse | Release | Repeat | Submap | Dispatcher | Command |
... my keys....

| Keybind | Dispatcher | Command |
|---------|------------|---------|

Is this an intended behaviour, or is this something that should be fixed?

@NotAShelf
Copy link
Member

Seems like a bug, I'll add a check that prevents --json being passed alongside --from-ctl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants