From cacc98616657305f8c9c499f232fb7bd226e0de0 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 13 Sep 2022 12:05:21 +1000 Subject: map-pointer: allow running arbitrary commands --- doc/riverctl.1.scd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3