aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-06-29 01:50:26 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-06-29 01:50:26 +0200
commit5474b656ee739ced9494c593a133dd82e4e81297 (patch)
tree7dc17d89c8068ca3699ba37748da486d6666a9d7
parent7b6e05005d2838a185e41d287b46a11c7ffc8753 (diff)
downloadriver-5474b656ee739ced9494c593a133dd82e4e81297.tar.gz
river-5474b656ee739ced9494c593a133dd82e4e81297.tar.xz
docs: add toggle-fullscreen
-rwxr-xr-xcontrib/config.sh7
-rw-r--r--doc/riverctl.1.scd3
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.