Updated i3 Migration Guide (markdown)

xM8WVqaG 2022-05-12 21:58:29 +01:00
parent 0d24404431
commit 5bfcf83d0e

@ -6,7 +6,7 @@ Sway is *almost* a drop-in replacement for i3, but you may have to make a few ch
* Replace usage of `i3` specific programs with the equivalent sway tools: * Replace usage of `i3` specific programs with the equivalent sway tools:
* `i3-msg``swaymsg` * `i3-msg``swaymsg`
* `i3lock` → [`swaylock`](https://github.com/swaywm/swaylock) * `i3lock` → [`swaylock`](https://github.com/swaywm/swaylock)
* `i3-nag` → `swaynag` * `i3-nagbar` → `swaynag`
* 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 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'` then run `pkill -USR1 swayidle` to trigger timeout immediately. * 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.