Expand on actual names of sway implementations of i3 programs

xM8WVqaG 2022-05-12 21:56:20 +01:00
parent a5e5b1620b
commit 0d24404431

@ -3,7 +3,10 @@ Sway is *almost* a drop-in replacement for i3, but you may have to make a few ch
* Use the `output` command to configure outputs instead of xrandr * Use the `output` command to configure outputs instead of xrandr
* Use the `output` command to configure your wallpaper instead of feh * Use the `output` command to configure your wallpaper instead of feh
* 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` specific programs with the equivalent sway tools:
* `i3-msg``swaymsg`
* `i3lock` → [`swaylock`](https://github.com/swaywm/swaylock)
* `i3-nag``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.