From 5eb0e2378044d8876435d8a6f0b6c51d47cdab06 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Oct 2022 19:29:23 +1100 Subject: [PATCH] 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