river/doc/river.1.scd

79 lines
2.2 KiB
Plaintext
Raw Normal View History

RIVER(1) "github.com/riverwm/river" "General Commands Manual"
# NAME
river - dynamic tiling Wayland compositor
# SYNOPSIS
*river* [_options_]
# DESCRIPTION
*river* is a dynamic tiling Wayland compositor. Window management is based on
a stack of views laid out dynamically by an external layout generator. Tags
are used instead of workspaces allowing for increased flexibility.
2021-10-31 16:29:06 -07:00
All configuration and control happens at runtime through Wayland protocols,
including several river-specific protocol extensions. The *riverctl*(1)
utility may be used to communicate with river over these protocols.
# OPTIONS
*-h*
Print a help message and exit.
*-version*
Print the version number and exit.
*-c* _shell_command_
Override the default search paths for an init executable: instead
_shell_command_ will be run with _/bin/sh -c_. See the *CONFIGURATION*
section for more details.
2022-03-05 03:24:38 -08:00
*-log-level* [*error*|*warning*|*info*|*debug*]
Set the log level of river. At the *error* log level, only errors
are logged. At the *debug* log level, everything is logged including
verbose debug messages.
# CONFIGURATION
2021-07-19 17:20:02 -07:00
On startup river will run an executable file at $XDG_CONFIG_HOME/river/init if
such an executable exists. If $XDG_CONFIG_HOME is not set, ~/.config/river/init
will be used instead.
The executable init file will be run as a process group leader after river's
Wayland server is initialized but before entering the main loop. On exit,
river will send SIGTERM to this process group.
Usually this executable is a shell script invoking *riverctl*(1) to create
mappings, start programs such as a layout generator or status bar, and
2022-01-23 03:08:41 -08:00
perform other configuration.
# ENVIRONMENT
The following environment variables are used to configure the keyboard. See
*xkeyboard-config*(7) for possible values.
- XKB_DEFAULT_MODEL
- XKB_DEFAULT_LAYOUT
- XKB_DEFAULT_VARIANT
- XKB_DEFAULT_OPTIONS
- XKB_DEFAULT_RULES
# EXAMPLES
Set the keyboard layout to colemak:
XKB_DEFAULT_LAYOUT="us(colemak)" river
2020-11-11 11:44:41 -08:00
# AUTHORS
2021-10-02 04:01:58 -07:00
Maintained by Isaac Freund <mail@isaacfreund.com> who is assisted by open
2020-11-11 11:44:41 -08:00
source contributors. For more information about river's development, see
<https://github.com/riverwm/river>.
2020-11-11 11:44:41 -08:00
# SEE ALSO
*riverctl*(1), *rivertile*(1)