| scripts | implemented better MP in default config | |
| src | started writing readme | |
| .gitignore | initial commit | |
| Cargo.lock | updated dependencies | |
| Cargo.toml | updated dependencies | |
| LICENSE | initial commit | |
| README.md | started writing readme | |
river-uiuatile
Installation
Usage
uiuatile runs the specified uiua script by pushing the following parameters onto the stack and then calling the "Layout" function:
- output name
- tags
- screen width and height (as an array)
- view count
Afterwards the top value is popped off the stack and should be an array of arrays containing the coordinates and size of the window.
Layout commands (run via riverctl send-layout-cmd uiuatile "some cmd") are run by pushing the following parameters
onto the stack and then calling the function matching the command:
- output name
- tags
If the command matches the string "Reload", the layout's source is reloaded instead.
The layout's metadata, the name specifically, is determined by running the "Name" function.
Configuration
The config file currently only has one option, that being the name of the used layout. If it's set to "default", uiuatile will use the default layout. For any other value this config:
layout = "some_layout"
would run the script located at ~/.config/uiuatile/some_layout.ua. By default this is just set to "layout".