diff options
| author | Alexander Courtis <alex@courtis.org> | 2022-09-13 12:05:21 +1000 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-11-25 14:05:36 +0100 |
| commit | cacc98616657305f8c9c499f232fb7bd226e0de0 (patch) | |
| tree | 4e87fa6840b0086222bcd9f82950e2e3dfb8a8f5 /doc | |
| parent | e2a27b3a4eaea4dc302dabd9e111bdc6e42489d9 (diff) | |
| download | river-cacc98616657305f8c9c499f232fb7bd226e0de0.tar.gz river-cacc98616657305f8c9c499f232fb7bd226e0de0.tar.xz | |
map-pointer: allow running arbitrary commands
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/riverctl.1.scd | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd index d936308..b75fcae 100644 --- a/doc/riverctl.1.scd +++ b/doc/riverctl.1.scd @@ -212,9 +212,10 @@ A complete list may be found in _/usr/include/linux/input-event-codes.h_ - _key_: an XKB keysym name as described above - _command_: any command that may be run with riverctl -*map-pointer* _mode_ _modifiers_ _button_ _action_ - Move or resize views when _button_ and _modifiers_ are held down - while in the specified _mode_. +*map-pointer* _mode_ _modifiers_ _button_ _action_|_command_ + Move or resize views or run _command_ when _button_ and _modifiers_ are held + down while in the specified _mode_. The view under the cursor will be + focused. - _mode_: name of the mode for which to create the mapping - _modifiers_: one or more of the modifiers listed above, separated @@ -223,6 +224,7 @@ A complete list may be found in _/usr/include/linux/input-event-codes.h_ - _action_: one of the following values: - move-view - resize-view + - _command_: any command that may be run with riverctl *map-switch* _mode_ *lid*|*tablet* _state_ _command_ Run _command_ when river receives a certain switch event. |
