aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-12-11 11:00:39 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-12-12 10:37:30 -0500
commit2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6 (patch)
tree69d3367cf7dbd7f756d45d89cd37e6016503a88d /sway/sway-input.5.scd
parentFix lingering workspace with scratchpad show (diff)
downloadsway-2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6.tar.gz
sway-2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6.tar.zst
sway-2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6.zip
Add seat <seat> idle_{inhibit,wake} <sources...>
This adds seat configuration options which can be used to configure what events affect the idle behavior of sway. An example use-case is mobile devices: you would remove touch from the list of idle_wake events. This allows the phone to stay on while you're actively using it, but doesn't wake from idle on touch events while it's sleeping in your pocket.
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd12
1 files changed, 12 insertions, 0 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 5631293c..e1ae6781 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -218,6 +218,18 @@ correct seat.
218 disables hiding the cursor. The minimal timeout is 100 and any value less 218 disables hiding the cursor. The minimal timeout is 100 and any value less
219 than that (aside from 0), will be increased to 100. 219 than that (aside from 0), will be increased to 100.
220 220
221*seat* <name> idle_inhibit <sources...>
222 Sets the set of input event sources which can prevent the seat from
223 becoming idle, as a space separated list of source names. Valid names are
224 "keyboard", "pointer", "touchpad", "touch", "tablet_pad", "tablet_tool",
225 and "switch". The default behavior is to prevent idle on any event.
226
227*seat* <name> idle_wake <sources...>
228 Sets the set of input event sources which can wake the seat from
229 its idle state, as a space separated list of source names. Valid names are
230 "keyboard", "pointer", "touchpad", "touch", "tablet pad", "tablet tool",
231 and "switch". The default behavior is to wake from idle on any event.
232
221*seat* <name> keyboard_grouping none|keymap 233*seat* <name> keyboard_grouping none|keymap
222 Set how the keyboards in the seat are grouped together. Currently, there 234 Set how the keyboards in the seat are grouped together. Currently, there
223 are two options. _none_ will disable all keyboard grouping. This will make 235 are two options. _none_ will disable all keyboard grouping. This will make