aboutsummaryrefslogtreecommitdiff
path: root/completions/fish/riverctl.fish
AgeCommit message (Collapse)AuthorFilesLines
2023-11-09keyboard: add the ability to load layout from fileIstván Donkó1-0/+1
2023-11-08river: add fullscreen rulepolykernel1-2/+2
This commit adds a fullscreen rule for configuring whether the view should be drawn fullscreen on start up. The actions "fullscreen" and "no-fullscreen" map to the two possible state of a view and semantically operate on the same rule list. The behavior of adding, deleting and listing rules follows that of float and ssd.
2023-11-08river: add position and dimensions rulespolykernel1-2/+2
This commit adds position and dimensions rules for configuring the initial position and dimensions of views. When a view is not matched by any position rules, it is centered in the avaliable output space matching the current behavior. If the provided position rule places the view outside of the output, the view's position is clamped to the output bounds (with respect to borders). When a view is not matched by any dimensions rules, no default dimensions is set by the server. If the provided dimensions rule exceeds the minimum or maximum width/height constraints of the view, the view's width/height is clamped to the constraints. Position and dimensions rules have no effect if a view is started fullscreen or is not floating. A view must be matched by a float rule in order for them to take effect.
2023-10-25completions/fish: partial overhaultiosgz1-97/+108
Try to fix -h and -version. Remove seemingly superfluous -x everywhere, only use one -f. Use -o for options. Update input devices listing. Deduplicate some args. Try to do better for rule-add and rule-del.
2023-10-19river: add outputs ruleDoclic1-3/+3
2023-07-09river: focus-view and swap by spatial directionLeon Henrik Plickat1-2/+2
2023-06-28river: add tags ruleLeon Henrik Plickat1-3/+3
2023-03-12river: add rules systemIsaac Freund1-2/+7
This is a breaking change and replaces the previous csd-filter-add/remove and float-filter-add/remove commands. See the riverctl(1) man page for documentation on the new system.
2023-01-06completions: add keyboard-layoutLeon Henrik Plickat1-0/+1
2022-12-01Cursor: add on-focus-change optionshironeko1-1/+1
Warp the cursor to the center of the focused view if the cursor is not in the bounding box of that view already. This helps the user to keep track of their cursor when they mostly use the keyboard and the cursor becomes hidden most of the time, also helps trackpad/trackpoint users.
2022-11-25map-pointer: allow running arbitrary commandsAlexander Courtis1-1/+1
2022-09-18river: refactor keyboard groups implementationIsaac Freund1-3/+4
This reduces the impact of keyboard groups on the Keyboard.zig implementation and otherwise improves consistency with patterns used elsewhere in rivers code. There are also two small changes to the riverctl interface: - keyboard-group-add-keyboard is renamed to keyboard-group-add - keyboard-group-remove is added to support removing keyboards from a group.
2022-09-12river: add keyboard groupsLeon Henrik Plickat1-0/+4
2022-06-03Cursor: revive 'always' focus-follows-cursor modeIsaac Freund1-1/+1
This was removed a while back because it was buggy and I didn't know of anyone using it. Since refactoring it is now trivial to implement and I know of at least one person using it, so I don't mind reviving it.
2022-04-27command/map: layout-pinned mappingsPeter Kaplan1-1/+1
e.g. `riverctl map -layout 0 normal Super Y spawn foot` When this mapping is checked against a pressed key, layout 0 will be used to translate the pressed key instead of the currently active layout. The number denotes to an index of the layouts set with `XKB_DEFAULT_LAYOUT`.
2022-04-20completions: fish: new completions for the ‘hide-cursor’ commandDaniel Eklöf1-0/+8
2022-04-14input: add map-switch/unmap-switch commandsPeter Kaplan1-0/+2
This allows running a command on a laptop's lid being opened/closed or a tablet's button/switch being pressed/toggled.
2021-11-01completions/fish: simplifyFollieHiyuki1-95/+70
2021-10-31docs: standardize on "layout generator"Isaac Freund1-1/+1
This is likely more clear than "layout client" to most users.
2021-09-14river: add send-to-previous-tags commandPeter Rice1-0/+1
2021-08-19river: implement xdg-activation-v1novakane1-1/+2
- add a new "urgent" border color - add a new event to river-status-unstable-v1 Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>
2021-08-15command: support repeating keyboard mappingsKeith Hubbard1-1/+1
Repeating mappings are created using the -repeat option to the map command: % riverctl map normal $mod+Mod1 K -repeat move up 10 - repeating is only supported for key press (not -release) mappings - unlike -release, -repeat does not create distinct mappings: mapping a key with -repeat will replace an existing bare mapping and vice-versa Resolves #306
2021-07-29completions: Remove strict in focus-follows-cursornovakane1-1/+1
2021-07-20completions: Update for river-layout-v3novakane1-3/+2
2021-07-20river: remove opacity commandIsaac Freund1-2/+1
This code is complex and increases maintenance burden but doesn't add any functionality, only eye-candy. Futhermore, neither I nor any of the core contributors use it. There may be a place in river for such eye-candy down the line, in which case this code could be revived. Currently river is early enough in its development that our focus should be on core functionality instead.
2021-07-15river: add focus-previous-tags commandViktor Nagy1-0/+1
2021-06-26completions: add set-cursor-warp for zsh/fishIsaac Freund1-1/+3
2021-06-16completions: add fish completion for input commandFollieHiyuki1-5/+60
2021-06-08config: make attach-mode globalnovakane1-1/+1
2021-04-27river-layout: update to v2Isaac Freund1-1/+3
This implements the changes to the river-layout protocol proposed in the previous commit removing river-options.
2021-04-27river-options: remove protocolIsaac Freund1-8/+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-5/+1
2021-04-21completions: Remove completions for removed subcommand "layout"skuzzymiglet1-3/+1
2021-04-20river-options: rework, bump to v2Isaac Freund1-3/+3
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-16riverctl: add fish completionFollieHiyuki1-0/+78