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

commit922c48c22128d82d6a9c0c4de10046ad90d1cfce
parent67eb9e8c51
authorIsaac Freund <[email protected]>
date2020-06-16 17:46
contrib: use rivertile in config.sh example

 contrib/config.sh | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/contrib/config.sh b/contrib/config.sh
index 08ca6a2..efd7559 100755
--- a/contrib/config.sh
+++ b/contrib/config.sh
@@ -63,10 +63,10 @@ riverctl map normal $mod+Shift 0 set-view-tags $all_tags_mask
 riverctl map normal $mod Space toggle-float
 
 # Mod+{Up,Right,Down,Left} to change master orientation
-riverctl map normal $mod Up layout top-master
-riverctl map normal $mod Right layout right-master
-riverctl map normal $mod Down layout bottom-master
-riverctl map normal $mod Left layout left-master
+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
@@ -80,3 +80,6 @@ riverctl map normal $mod F11 enter-mode passthrough
 
 # Mod+F11 to return to normal mode
 riverctl map passthrough $mod F11 enter-mode normal
+
+# Set the layout on startup
+riverctl layout rivertile left