Add exit_river keybinding
Recently, river removed the hardcoded Ctrl+Alt Delete keybinding that exits river and replaces it with a new `exit_session` request. This adds support for that request via the new `exit_session` bind. We also added 3 hardcoded default keybinds to: exit river, reload the config, and open foot. This way, if the config fails to load or is missing, you should still be able to try reload. I guess you're still SOL if you have at least one keybind and it's not reload_config, but you do what you can do.
This commit is contained in:
parent
38400c66d6
commit
678d0563ed
11 changed files with 293 additions and 108 deletions
|
|
@ -35,8 +35,14 @@ You can either add *beansprout* to the river init file or directly run:
|
|||
|
||||
river -c beansprout
|
||||
|
||||
If you need to exit river, for example if *beansprout* crashes, you can use
|
||||
river's hardcoded *Ctrl+Alt+Delete* keybind.
|
||||
If no keybinds are configured (e.g. missing or broken config), *beansprout*
|
||||
provides fallback keybinds: *Ctrl+Alt+Delete* to exit the River session,
|
||||
*Super+Shift+R* to reload config, and *Super+T* to spawn a terminal.
|
||||
|
||||
If *beansprout* crashes, you can use River's hardcoded *Ctrl+Alt F1*–*F12*
|
||||
bindings to switch to another TTY. From there, you can kill River or restart
|
||||
*beansprout* (you will need to set *WAYLAND_DISPLAY* yourself, e.g.
|
||||
_WAYLAND_DISPLAY=wayland-1 beansprout_).
|
||||
|
||||
# CONFIGURATION
|
||||
|
||||
|
|
@ -46,9 +52,9 @@ this defaults to _~/.config/beansprout/config.kdl_.
|
|||
|
||||
See *beansprout*(5) for a full configuration reference.
|
||||
|
||||
If the config file is missing, *beansprout* falls back to built-in defaults
|
||||
(which will be missing keybinds). If an individual node or block is invalid,
|
||||
*beansprout* will try to ignore the error and continue.
|
||||
If the config file is missing or fails to load, *beansprout* falls back to
|
||||
built-in defaults. If an individual node or block is invalid, *beansprout*
|
||||
will try to ignore the error and continue.
|
||||
|
||||
# AUTHORS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue