Document modern way to force DPMS off

Jan Beich 2021-01-09 23:01:58 +00:00
parent 0dc3086ebc
commit 13da43ce1c

@ -5,7 +5,7 @@ Sway is *almost* a drop-in replacement for i3, but you may have to make a few ch
* Use the `input` command to configure input devices * Use the `input` command to configure input devices
* Replace usage of `i3-msg`, `i3lock`, and so on, with the equivalent sway tools. * Replace usage of `i3-msg`, `i3lock`, and so on, with the equivalent sway tools.
* Sway handles quotes slightly differently - commands are handled more like shell commands * Sway handles quotes slightly differently - commands are handled more like shell commands
* To emulate `xset dpms force off`, use `swayidle timeout 1 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"; pkill -n swayidle'` * To emulate `xset dpms force off`, use `swayidle timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'` then run `pkill -USR1 swayidle` to trigger timeout immediately.
## Font configuration ## Font configuration