output: add output_title default option

Outputs now have a default option, "output_title". If this changes, the
outputs title is set to the option value. This title is currently only
relevant when run nested in a wayland/X11 session.

Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>
This commit is contained in:
Leon Henrik Plickat
2021-02-01 14:16:55 +01:00
committed by Isaac Freund
parent 5e09b853f7
commit 7029a5cd3e
5 changed files with 52 additions and 3 deletions

View File

@ -280,7 +280,7 @@ A complete list may be found in _/usr/include/linux/input-event-codes.h_
and is made available through the _XCURSOR_THEME_ and _XCURSOR_SIZE_
environment variables.
# OPTIONS
## OPTIONS
River has various options that are saved in a typed key-value store. It also
allows users to store arbitrary custom options in the store. Options are
@ -299,6 +299,12 @@ name of the output as obtained from the xdg-output protocol.
*set-option* [-output _output_name_] _name_ _value_
Set the value of the specified option to _value_.
River declares certain default options for all outputs.
*output_title* (string)
Changing this option changes the title of the wayland and X11 backend
outputs.
# EXAMPLES
Bind bemenu-run to Super+P in normal mode: