From ca47b8a54ea058ce5d173dce889cae0f769541ff Mon Sep 17 00:00:00 2001 From: pmkap <48184470+pmkap@users.noreply.github.com> Date: Sun, 6 Feb 2022 14:41:40 +0000 Subject: command: allow targeting outputs by name This extends focus-output and send-to-output to allow targeting outputs by name instead of relative position. --- doc/riverctl.1.scd | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'doc/riverctl.1.scd') diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd index 32be2a1..d4ba768 100644 --- a/doc/riverctl.1.scd +++ b/doc/riverctl.1.scd @@ -50,8 +50,9 @@ over the Wayland protocol. Remove an app-id or title from the float filter list. Note that this affects only new views, not already existing ones. -*focus-output* *next*|*previous*|*up*|*right*|*down*|*left* - Focus the next or previous output or the closest output in any direction. +*focus-output* *next*|*previous*|*up*|*right*|*down*|*left*|_name_ + Focus the next or previous output, the closest output in any direction + or an output by name. *focus-view* *next*|*previous* Focus the next or previous view in the stack. @@ -68,9 +69,9 @@ over the Wayland protocol. Snap the focused view to the specified screen edge. The view will be set to floating. -*send-to-output* *next*|*previous*|*up*|*right*|*down*|*left* - Send the focused view to the next or previous output or the closest - output in any direction. +*send-to-output* *next*|*previous*|*up*|*right*|*down*|*left*|_name_ + Send the focused view to the next or previous output, the closest + output in any direction or to an output by name. *spawn* _shell_command_ Run _shell_command_ using `/bin/sh -c _shell_command_`. Note that -- cgit v1.2.3