Skip to content

riospawn

Bakkeby edited this page Feb 27, 2024 · 5 revisions
Function Expected argument Default keybinding
riospawn N/A Super+Shift+Enter

The riospawn function allows the user to "draw" where a window is to be spawned in a similar manner to the Plan 9 windowing system rio.

The feature uses a tool called slop (Select Operation) under the hood to draw the selection. This will have to be compiled and installed separately.

riospawn.gif

Configuration options:

static const char slopspawnstyle[] = "-t 0 -c 0.92,0.85,0.69,0.3 -o"; /* do NOT define -f (format) here */

The slopspawnstyle option allow you to use a different slop style when spawning clients. See slop --help for or the man page for more details.

Note that even if -t 0 is passed to slop it still ends up highlighting the window underneath the cursor for a fraction of a second on the first mouse click before you start dragging.

The default keybinding of Super+Shift+Enter allows the use of riospawn to draw where a terminal is to spawn.

There are no external commands for this function.

Also see:

Back to Functions > Window.

Clone this wiki locally