git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commitbfa4b10bd77319d5f03766312ec337542dae1956
parent10f961c899
authorIsaac Freund <[email protected]>
date2020-06-29 01:50
docs: add toggle-fullscreen

 contrib/config.sh  | 7 +++++--
 doc/riverctl.1.scd | 3 +++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/contrib/config.sh b/contrib/config.sh
index efd7559..d4447f3 100755
--- a/contrib/config.sh
+++ b/contrib/config.sh
@@ -62,14 +62,17 @@ riverctl map normal $mod+Shift 0 set-view-tags $all_tags_mask
 # Mod+Space to toggle float
 riverctl map normal $mod Space toggle-float
 
+# Mod+F to toggle fullscreen
+riverctl map normal $mod Space toggle-fullscreen
+
 # Mod+{Up,Right,Down,Left} to change master orientation
 riverctl map normal $mod Up layout rivertile top
 riverctl map normal $mod Right layout rivertile right
 riverctl map normal $mod Down layout rivertile down
 riverctl map normal $mod Left layout rivertile left
 
-# Mod+f to change to Full layout
-riverctl map normal $mod F layout full
+# Mod+S to change to Full layout
+riverctl map normal $mod S layout full
 
 # Declare a passthrough mode. This mode has only a single mapping to return to
 # normal mode. This makes it useful for testing a nested wayland compositor
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd
index 3788919..3c03adf 100644
--- a/doc/riverctl.1.scd
+++ b/doc/riverctl.1.scd
@@ -58,6 +58,9 @@ used to control and configure river.
 	If the focused view is floating, make it tiled. If it is tiled, make
 	it floating.
 
+*toggle-fullscreen*
+	Toggle the fullscreen state of the focused view.
+
 *zoom*
 	Bump the focused view to the top of the layout stack to make it the
 	new master.