mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Document modern way to force DPMS off
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue