Skip to content

Commit e883186

Browse files
laurelmayemersion
authored andcommitted
Replace dpms commands with power in sample command
sway-output(5) lists `dpms` as deprecated and an alias for `power`. For clarity and consistency, the `swayidle(1)` man page should use `power` in the example command
1 parent 4b9e70c commit e883186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swayidle.1.scd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ swayidle responds to the following signals:
8686
```
8787
swayidle -w \\
8888
timeout 300 'swaylock -f -c 000000' \\
89-
timeout 600 'swaymsg "output * dpms off"' \\
90-
resume 'swaymsg "output * dpms on"' \\
89+
timeout 600 'swaymsg "output * power off"' \\
90+
resume 'swaymsg "output * power on"' \\
9191
before-sleep 'swaylock -f -c 000000'
9292
```
9393

0 commit comments

Comments
 (0)