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

commitaebd1038f69c4756d66fc6b559f1bc507958a02d
parent442f5e0b84
authorCampbell Barton <[email protected]>
date2022-10-26 19:29
contrib: mention default-layout command in FAQ

It took me a while to figure out how to activate this layout, adding a note to the Q&A.

 contrib/layout.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/layout.py b/contrib/layout.py
index 76d8dbb..5313449 100755
--- a/contrib/layout.py
+++ b/contrib/layout.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 #
-# Fibonacci sprial layout for river, implemented in simple python. Reading this
+# Fibonacci spiral layout for river, implemented in simple python. Reading this
 # code should help you get a basic understanding of how to use river-layout to
 # create a basic layout generator.
 #
@@ -10,6 +10,10 @@
 # A: For simple layouts, you really only need to care about what's in the
 #    layout_handle_layout_demand() function. And the rest isn't as complicated
 #    as it looks.
+#
+# Q: The script runs but nothing happens! How can I see this layout?
+# A: Once started, to set this layout as default use the command:
+#    riverctl default-layout layout.py
 
 import mmap
 import time