diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2022-10-26 19:29:23 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-26 10:29:23 +0200 |
| commit | 5eb0e2378044d8876435d8a6f0b6c51d47cdab06 (patch) | |
| tree | 810f3cdb997330ae4755d60f7eb23bf1ffeb48ee | |
| parent | e35c147cd5b8fcd363b7ecc495292733b25d96f5 (diff) | |
| download | river-5eb0e2378044d8876435d8a6f0b6c51d47cdab06.tar.gz river-5eb0e2378044d8876435d8a6f0b6c51d47cdab06.tar.xz | |
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.
| -rwxr-xr-x | contrib/layout.py | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
