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.
This commit is contained in:
Campbell Barton 2022-10-26 19:29:23 +11:00 committed by GitHub
parent e35c147cd5
commit 5eb0e23780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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