aboutsummaryrefslogtreecommitdiff
path: root/completions
AgeCommit message (Collapse)AuthorFilesLines
2023-10-25completions/bash: complete input devices, fix typostiosgz1-1/+3
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 ruleDoclic3-7/+7
2023-10-18completions/zsh: Fix incomplete input namesHugo Machet1-1/+1
Input name with ':' in it were not suggested entirely.
2023-10-18completions: Rewrite zshHugo Machet1-98/+98
- Fix some completions that never really worked correctly, e.g `riverctl input` didn't take the input name into account. Same with rule that didn't take into account glob. - Add a lot of documentation to help people adding new commands. - Add new rule-[add|del] order. - `riverctl input` now autocomplete input name from `riverctl list-inputs`
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 Plickat3-5/+6
2023-06-28river: add tags ruleLeon Henrik Plickat3-8/+8
2023-03-12river: add rules systemIsaac Freund3-6/+19
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 Plickat3-0/+3
2022-12-01Cursor: add on-focus-change optionshironeko3-3/+3
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 Courtis2-2/+2
2022-09-18river: refactor keyboard groups implementationIsaac Freund3-5/+8
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 Plickat3-0/+11
2022-06-03Cursor: revive 'always' focus-follows-cursor modeIsaac Freund3-3/+3
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 Kaplan3-3/+3
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-20completions: bash: new completions for the ‘hide-cursor’ commandDaniel Eklöf1-0/+9
2022-04-20completions: zsh: new completions for the ‘hide-cursor’ commandDaniel Eklöf1-0/+33
2022-04-14input: add map-switch/unmap-switch commandsPeter Kaplan3-0/+6
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-11-01docs: update URLs for migration to riverwm github orgIsaac Freund1-1/+1
2021-10-31docs: standardize on "layout generator"Isaac Freund2-2/+2
This is likely more clear than "layout client" to most users.
2021-09-14river: add send-to-previous-tags commandPeter Rice3-0/+3
2021-08-19river: implement xdg-activation-v1novakane3-1/+4
- 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 Hubbard3-3/+4
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-cursornovakane3-3/+3
2021-07-20completions: Update for river-layout-v3novakane3-7/+4
2021-07-20river: remove opacity commandIsaac Freund3-4/+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 Nagy3-0/+3
2021-07-02completions: typoSteef Hegeman1-1/+1
focus-follows-cursor instead of focus-follow-cursor
2021-06-26completions: add set-cursor-warp for zsh/fishIsaac Freund2-2/+5
2021-06-26completions: Add bash completion for set-cursor-warp commandsLeon Henrik Plickat1-0/+2
2021-06-16completions: add fish completion for input commandFollieHiyuki1-5/+60
2021-06-16completions/zsh: add input commandsnovakane1-78/+135
2021-06-13add bash completion for input commandsLeon Henrik Plickat1-1/+38
2021-06-08config: make attach-mode globalnovakane2-2/+2
2021-04-27river-layout: update to v2Isaac Freund3-1/+7
This implements the changes to the river-layout protocol proposed in the previous commit removing river-options.
2021-04-27river-options: remove protocolIsaac Freund3-22/+8
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 Freund3-13/+1
2021-04-21completions: Remove completions for removed subcommand "layout"skuzzymiglet3-6/+1
2021-04-20river-options: rework, bump to v2Isaac Freund3-7/+7
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
2021-03-16Fix existing typosFollieHiyuki1-7/+7
2021-03-14completions: add zsh completion for riverctlnovakne1-0/+99
2021-03-14Add bash completion for riverctlLeon Henrik Plickat1-0/+69