1
0
Fork
You've already forked river-uiuatile
0
No description
  • Rust 100%
2025年09月27日 14:16:42 +02:00
scripts implemented better MP in default config 2025年09月13日 11:55:08 +02:00
src started writing readme 2025年09月17日 22:22:50 +02:00
.gitignore initial commit 2025年09月02日 06:47:32 +02:00
Cargo.lock updated dependencies 2025年09月27日 14:16:42 +02:00
Cargo.toml updated dependencies 2025年09月27日 14:16:42 +02:00
LICENSE initial commit 2025年09月02日 06:47:32 +02:00
README.md started writing readme 2025年09月17日 22:22:50 +02:00

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".