Commit Graph

16 Commits

Author SHA1 Message Date
Steef Hegeman
ba6a38f491 completions: typo
focus-follows-cursor instead of focus-follow-cursor
2021-07-02 19:11:36 +02:00
Isaac Freund
df492f83e6 completions: add set-cursor-warp for zsh/fish 2021-06-26 19:03:49 +02:00
Leon Henrik Plickat
61829d82fe completions: Add bash completion for set-cursor-warp commands 2021-06-26 19:03:49 +02:00
FollieHiyuki
12c12c4b6c completions: add fish completion for input command 2021-06-16 09:59:37 -07:00
novakane
db35f700a8 completions/zsh: add input commands 2021-06-16 09:54:07 -07:00
Leon Henrik Plickat
1fd8d4d828 add bash completion for input commands 2021-06-13 10:37:36 -07:00
novakane
2e7c1dbe6a config: make attach-mode global 2021-06-08 18:26:36 +00:00
Isaac Freund
e80b883a47 river-layout: update to v2
This implements the changes to the river-layout protocol proposed
in the previous commit removing river-options.
2021-04-27 00:10:20 +02:00
Isaac Freund
871fc7c8de river-options: remove protocol
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-27 00:10:20 +02:00
Isaac Freund
891eb38b33
completions: delete more removed commands 2021-04-21 16:51:53 +02:00
skuzzymiglet
967b274c01 completions: Remove completions for removed subcommand "layout" 2021-04-21 16:47:27 +02:00
Isaac Freund
d08032d685 river-options: rework, bump to v2
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-04-20 18:27:03 +02:00
FollieHiyuki
8627a2feff riverctl: add fish completion 2021-03-16 17:38:21 +01:00
FollieHiyuki
bd604b0f47 Fix existing typos 2021-03-16 17:38:21 +01:00
novakne
c9a4dde331 completions: add zsh completion for riverctl 2021-03-14 17:31:59 +01:00
Leon Henrik Plickat
eb1dd401f8 Add bash completion for riverctl 2021-03-14 17:06:43 +01:00