aboutsummaryrefslogtreecommitdiff
path: root/completions/bash
AgeCommit message (Collapse)AuthorFilesLines
2023-10-16riverctl: rule-{add,del}: reorder parameterstiosgz1-1/+20
Previous order was (action, conditions, action argument), current is (conditions, action, action argument). The old one was an expansion of (action, conditions), which itself most likely came from the separate <action>-filter-add commands. On the other hand, the new order keeps action and its argument together and is in line with the logical flow (check conditions, apply action). On shell completions: only bash absolutely needed to be updated. fish and zsh slightly misbehave regardless of the order.
2023-07-09river: focus-view and swap by spatial directionLeon Henrik Plickat1-1/+2
2023-06-28river: add tags ruleLeon Henrik Plickat1-2/+2
2023-03-12river: add rules systemIsaac Freund1-2/+5
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-09-18river: refactor keyboard groups implementationIsaac Freund1-1/+2
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/+3
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: bash: new completions for the ‘hide-cursor’ commandDaniel Eklöf1-0/+9
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-09-14river: add send-to-previous-tags commandPeter Rice1-0/+1
2021-08-19river: implement xdg-activation-v1novakane1-0/+1
- 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/+2
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-2/+1
2021-07-20river: remove opacity commandIsaac Freund1-1/+0
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-07-02completions: typoSteef Hegeman1-1/+1
focus-follows-cursor instead of focus-follow-cursor
2021-06-26completions: Add bash completion for set-cursor-warp commandsLeon Henrik Plickat1-0/+2
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