aboutsummaryrefslogtreecommitdiff
path: root/completions/bash/riverctl
AgeCommit message (Collapse)AuthorFilesLines
2021-06-13add bash completion for input commandsLeon Henrik Plickat1-1/+38
2021-04-27river-layout: update to v2Isaac Freund1-0/+2
This implements the changes to the river-layout protocol proposed in the previous commit removing river-options.
2021-04-27river-options: remove protocolIsaac Freund1-7/+3
This protocol involves far too much accidental complexity. The original motivating use-case was to provide a convenient way to send arbitrary data to layout clients at runtime in order to avoid layout clients needing to implement their own IPC and do this over a side-channel. Instead of implementing a quite complex but still rigid options protocol and storing this state in the compositor, instead we will simply add events to the layout protocol to support this use case. Consider the status quo event sequence: 1. send get_option_handle request (riverctl) 2. roundtrip waiting for first event (riverctl) 3. send set_foo_value request (riverctl) 4. receive set_foo_value request (river) 5. send foo_value event to all current handles (river) 6. receive foo_value event (rivertile) 7. send parameters_changed request (rivertile) 8. receive parameters_changed request (river) 9. send layout_demand (river) And compare with the event sequence after the proposed change: 1. send set_foo_value request (riverctl) 2. receive set_foo_value request (river) 3. send set_foo_value event (river) 4. send layout_demand (river) This requires *much* less back and forth between the server and clients and is clearly much simpler.
2021-04-21completions: delete more removed commandsIsaac Freund1-4/+0
2021-04-21completions: Remove completions for removed subcommand "layout"skuzzymiglet1-1/+0
2021-04-20river-options: rework, bump to v2Isaac Freund1-2/+2
Options are now all global but may be overridden per-output. If an output local value is requested but none has been set, the global value is provided instead. This makes for much better ergonomics when configuring layout related options in particular.
2021-03-14Add bash completion for riverctlLeon Henrik Plickat1-0/+69