mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
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.
This commit is contained in:
parent
f645f8efd6
commit
2f3c6cccf5
12 changed files with 159 additions and 11 deletions
|
|
@ -285,6 +285,8 @@ sway_cmd seat_cmd_attach;
|
|||
sway_cmd seat_cmd_cursor;
|
||||
sway_cmd seat_cmd_fallback;
|
||||
sway_cmd seat_cmd_hide_cursor;
|
||||
sway_cmd seat_cmd_idle_inhibit;
|
||||
sway_cmd seat_cmd_idle_wake;
|
||||
sway_cmd seat_cmd_keyboard_grouping;
|
||||
sway_cmd seat_cmd_pointer_constraint;
|
||||
sway_cmd seat_cmd_xcursor_theme;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue