mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Remove asciidoc file for swayidle
This commit is contained in:
parent
8fbafbfab5
commit
f40049b5cd
1 changed files with 0 additions and 67 deletions
|
@ -1,67 +0,0 @@
|
||||||
/////
|
|
||||||
vim:set ts=4 sw=4 tw=82 noet:
|
|
||||||
/////
|
|
||||||
:quotes.~:
|
|
||||||
|
|
||||||
swayidle (1)
|
|
||||||
============
|
|
||||||
|
|
||||||
Name
|
|
||||||
----
|
|
||||||
swayidle - Idle manager for Wayland
|
|
||||||
|
|
||||||
Synopsis
|
|
||||||
--------
|
|
||||||
'swayidle' [options] [events...]
|
|
||||||
|
|
||||||
Options
|
|
||||||
-------
|
|
||||||
|
|
||||||
*-h*::
|
|
||||||
Show help message and quit.
|
|
||||||
|
|
||||||
*-d*::
|
|
||||||
Enable debug output.
|
|
||||||
|
|
||||||
Description
|
|
||||||
-----------
|
|
||||||
|
|
||||||
swayidle listens for idle activity on your Wayland compositor and executes tasks
|
|
||||||
on various idle-related events. You can specify any number of events at the
|
|
||||||
command line.
|
|
||||||
|
|
||||||
Events
|
|
||||||
------
|
|
||||||
|
|
||||||
*timeout* <timeout> <timeout command> [resume <resume command>]::
|
|
||||||
Execute <timeout command> if there is no activity for <timeout> seconds.
|
|
||||||
+
|
|
||||||
If you specify "resume <resume command>", <resume command> will be run when
|
|
||||||
there is activity again.
|
|
||||||
|
|
||||||
*before-sleep* <command>::
|
|
||||||
If built with systemd support, executes <command> before systemd puts the
|
|
||||||
computer to sleep.
|
|
||||||
|
|
||||||
All commands are executed in a shell.
|
|
||||||
|
|
||||||
Example
|
|
||||||
-------
|
|
||||||
|
|
||||||
swayidle \
|
|
||||||
timeout 300 'swaylock -c 000000' \
|
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
|
||||||
resume 'swaymsg "output * dpms on"' \
|
|
||||||
before-sleep 'swaylock -c 000000'
|
|
||||||
|
|
||||||
This will lock your screen after 300 seconds of inactivity, then turn off your
|
|
||||||
displays after another 600 seconds, and turn your screens back on when resumed.
|
|
||||||
It will also lock your screen before your computer goes to sleep.
|
|
||||||
|
|
||||||
Authors
|
|
||||||
-------
|
|
||||||
|
|
||||||
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
|
|
||||||
source contributors. For more information about sway development, see
|
|
||||||
<https://github.com/swaywm/sway>.
|
|
||||||
|
|
Loading…
Reference in a new issue