diff options
Diffstat (limited to 'swayidle/swayidle.1.scd')
-rw-r--r-- | swayidle/swayidle.1.scd | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/swayidle/swayidle.1.scd b/swayidle/swayidle.1.scd deleted file mode 100644 index 0e3b5c3c..00000000 --- a/swayidle/swayidle.1.scd +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | swayidle (1) | ||
2 | |||
3 | # NAME | ||
4 | |||
5 | swayidle - Idle manager for Wayland | ||
6 | |||
7 | # SYNOPSIS | ||
8 | |||
9 | *swayidle* [options] [events...] | ||
10 | |||
11 | # OPTIONS | ||
12 | |||
13 | *-h* | ||
14 | Show help message and quit. | ||
15 | |||
16 | *-d* | ||
17 | Enable debug output. | ||
18 | |||
19 | # DESCRIPTION | ||
20 | |||
21 | swayidle listens for idle activity on your Wayland compositor and executes tasks | ||
22 | on various idle-related events. You can specify any number of events at the | ||
23 | command line. | ||
24 | |||
25 | Sending SIGUSR1 to swayidle will immediately enter idle state. | ||
26 | |||
27 | # EVENTS | ||
28 | |||
29 | *timeout* <timeout> <timeout command> [resume <resume command>] | ||
30 | Execute _timeout command_ if there is no activity for <timeout> seconds. | ||
31 | |||
32 | If you specify "resume <resume command>", _resume command_ will be run when | ||
33 | there is activity again. | ||
34 | |||
35 | *before-sleep* <command> | ||
36 | If built with systemd support, executes _command_ before systemd puts the | ||
37 | computer to sleep. | ||
38 | |||
39 | All commands are executed in a shell. | ||
40 | |||
41 | # EXAMPLE | ||
42 | |||
43 | ``` | ||
44 | swayidle \ | ||
45 | timeout 300 'swaylock -c 000000' \ | ||
46 | timeout 600 'swaymsg "output * dpms off"' \ | ||
47 | resume 'swaymsg "output * dpms on"' \ | ||
48 | before-sleep 'swaylock -c 000000' | ||
49 | ``` | ||
50 | |||
51 | This will lock your screen after 300 seconds of inactivity, then turn off your | ||
52 | displays after another 300 seconds, and turn your screens back on when resumed. | ||
53 | It will also lock your screen before your computer goes to sleep. | ||
54 | |||
55 | # AUTHORS | ||
56 | |||
57 | Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open | ||
58 | source contributors. For more information about sway development, see | ||
59 | https://github.com/swaywm/sway. | ||
60 | |||
61 | # SEE ALSO | ||
62 | |||
63 | *sway*(5) *swaymsg*(1) *sway-input*(5) *sway-output*(5) *sway-bar*(5) | ||