aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Tamir Zahavi-Brunner <tamir.z3@gmail.com>2020-09-07 01:44:13 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2020-10-30 09:59:54 +0100
commit96578aa91e9856bfb3e2d26fb7a625ff7c9b79e3 (patch)
treeac763cde133816f3bd8218eccbc352416ce88a5f /sway/sway-input.5.scd
parentoutput: Revert implementation of evacuate_sticky() (diff)
downloadsway-96578aa91e9856bfb3e2d26fb7a625ff7c9b79e3.tar.gz
sway-96578aa91e9856bfb3e2d26fb7a625ff7c9b79e3.tar.zst
sway-96578aa91e9856bfb3e2d26fb7a625ff7c9b79e3.zip
hide_cursor: Add an option to hide when typing
Add an option for the `hide_cursor` command to hide the cursor when typing, i.e. whenever a key is pressed.
Diffstat (limited to 'sway/sway-input.5.scd')
-rw-r--r--sway/sway-input.5.scd15
1 files changed, 10 insertions, 5 deletions
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index d8180c1c..dbf21d93 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -229,11 +229,16 @@ correct seat.
229 Set this seat as the fallback seat. A fallback seat will attach any device 229 Set this seat as the fallback seat. A fallback seat will attach any device
230 not explicitly attached to another seat (similar to a "default" seat). 230 not explicitly attached to another seat (similar to a "default" seat).
231 231
232*seat* <name> hide_cursor <timeout> 232*seat* <name> hide_cursor <timeout>|when-typing [enable|disable]
233 Hides the cursor image after the specified _timeout_ (in milliseconds) 233 Hides the cursor image after the specified event occured.
234 has elapsed with no activity on that cursor. A timeout of 0 (default) 234
235 disables hiding the cursor. The minimal timeout is 100 and any value less 235 If _timeout_ is specified, then the cursor will be hidden after _timeout_
236 than that (aside from 0), will be increased to 100. 236 (in milliseconds) has elapsed with no activity on the cursor. A timeout of 0
237 (default) disables hiding the cursor. The minimal timeout is 100 and any
238 value less than that (aside from 0), will be increased to 100.
239
240 If _when-typing_ is enabled, then the cursor will be hidden whenever a key
241 is pressed.
237 242
238*seat* <name> idle_inhibit <sources...> 243*seat* <name> idle_inhibit <sources...>
239 Sets the set of input event sources which can prevent the seat from 244 Sets the set of input event sources which can prevent the seat from