From 2f3c6cccf5d6b2d6ffd3cee62e7b624dc80dc6e6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 11 Dec 2019 11:00:39 -0500 Subject: Add seat idle_{inhibit,wake} 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. --- sway/sway-input.5.scd | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sway/sway-input.5.scd') 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. disables hiding the cursor. The minimal timeout is 100 and any value less than that (aside from 0), will be increased to 100. +*seat* idle_inhibit + Sets the set of input event sources which can prevent the seat from + becoming idle, as a space separated list of source names. Valid names are + "keyboard", "pointer", "touchpad", "touch", "tablet_pad", "tablet_tool", + and "switch". The default behavior is to prevent idle on any event. + +*seat* idle_wake + Sets the set of input event sources which can wake the seat from + its idle state, as a space separated list of source names. Valid names are + "keyboard", "pointer", "touchpad", "touch", "tablet pad", "tablet tool", + and "switch". The default behavior is to wake from idle on any event. + *seat* keyboard_grouping none|keymap Set how the keyboards in the seat are grouped together. Currently, there are two options. _none_ will disable all keyboard grouping. This will make -- cgit v1.2.3-54-g00ecf