Commit Graph

10 Commits

Author SHA1 Message Date
Jake Stanger
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
Jake Stanger
9dd711235f
feat!: improve CLI structure, add new commands
This splits most CLI/IPC commands into two categories:

- `var` for ironvars
- `bar` for controlling individual bars.

It also introduces more commands for visibility, as well as breaking existing ones.

New commands:

- `show`
- `hide`
- `toggle_visible`
- `set_popup_visible`
- `get_popup_visible`

Lastly, the implementation of some existing commands has been improved.

BREAKING CHANGE: All IPC commands have changed. Namely, `type` has been changed to `command`, and bar/var related commands are now under a `subcommand`. The full spec can be found on the wiki.

BREAKING CHANGE: Several CLI commands are now located under the `var` and `bar` categories. Usage of any commands to get/set Ironvars or control bar visibility will need to be updated.

BREAKING CHANGE: The `open_popup` and `close_popup` IPC commands are now called `show_popup` and `hide_popup` respectively.

BREAKING CHANGE: The popup `name` argument has been renamed to `widget_name` on all IPC commands.

BREAKING CHANGE: The `set-visibility` CLI command now takes a `true`/`false` positional argument in place of the `-v` flag.

BREAKING CHANGE: `ok_value` responses will no longer print `ok` as the first line when using the CLI
2024-06-01 17:04:51 +01:00
Jake Stanger
cfaba87f2f
feat(ipc): ironvar list command 2024-04-13 23:08:45 +01:00
Jake Stanger
3d949874de
docs(ipc): add link to luajit library 2023-07-16 21:25:03 +01:00
Jake Stanger
06251e293e
refactor: fix new pedantic clippy warnings 2023-07-16 20:17:32 +01:00
Jake Stanger
b7ee794bfc
feat(ipc): commands for opening/closing popups
Also includes some refactoring around related GTK helper code
2023-07-16 19:15:55 +01:00
A-Cloud-Ninja
2ccb2633c6
feat: IPC for get_visible, set_visible, new bar name config option 2023-07-16 18:21:44 +01:00
Jake Stanger
7d3bb02b46
feat(ipc): reload config command 2023-07-01 00:05:12 +01:00
Jake Stanger
4b88079561
docs: fix header 2023-06-29 17:38:41 +01:00
Jake Stanger
607c7285d7
docs: update for ipc/cli, tidy a bit 2023-06-29 16:26:55 +01:00