From 394a5d36cb5ac7f1d711fb4d02275ff4523b62bf Mon Sep 17 00:00:00 2001 From: Mykyta Holubakha Date: Sun, 8 May 2016 10:21:20 +0300 Subject: [PATCH] Documented floating_scroll --- sway/sway.5.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sway/sway.5.txt b/sway/sway.5.txt index a2570dcd..fdb7818c 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt @@ -156,6 +156,18 @@ or triggered at runtime. enabled, left click is used for resizing and right click for dragging. The mode paramenter is optional and defaults to _normal_ if it isn't defined. +**floating_scroll** behavior :: + If set to _gaps_inner_, adjusts inner gaps of the windows on scrolling + while holding the floating modifier. If set to _gaps_outer_, adjusts + outer gaps. If set to _custom_, performs user-defined commands, + specified in *floating_scroll up|down*. + +**floating_scroll** [command]:: + Sets the command to be executed on scrolling up and down + (respectively) while holding the floating modifier, when + *floating_scroll behavior* is set to _custom_. Resets the command, + when given none. + **focus_follows_mouse** :: If set to _yes_, the currently focused view will change as you move your mouse around the screen to the view that ends up underneath your mouse.