sway(1) General Commands Manual sway(1) (NAME) sway - Wayland i3 (SYNOPSIS) sway [options...] [command] (OPTIONS) -h, --help . -c, --config . -C, --validate . -d, --debug . -v, --version . -V, --verbose (verbose). --get-socketpath IPC . (DESCRIPTION) sway i3 Wayland . i3 i3 Wayland (vaporware ). i3 i3 . sway tty (login manager) Wayland . (CONFIGURATION) sway : 1. ~/.sway/config 2. $XDG_CONFIG_HOME/sway/config ( ) 3. ~/.i3/config 4. $XDG_CONFIG_HOME/i3/config 5. /etc/sway/config 6. /etc/i3/config $XDG_CONFIG_HOME ~/.config . . /etc/sway/config ~/.config/sway/config . sway(5) . IPC (IPC COMMANDS) swaymsg(1) sway command command sway . i3-msg(1) i3(1) . (ENVIRONMENT) sway : SWAYSOCK IPC sway . XKB_DEFAULT_RULES, XKB_DEFAULT_MODEL, XKB_DEFAULT_LAYOUT, XKB_DEFAULT_VARIANT, XKB_DEFAULT_OPTIONS xkb . xkeyboard-config(7) . sway-input(5) . sway : DISPLAY Xwayland Xwayland X Xwayland . I3SOCK i3 IPC sway . SWAYSOCK IPC sway . WAYLAND_DISPLAY Wayland sway . XCURSOR_SIZE . XCURSOR_THEME . (AUTHORS) Simon Ser . sway . (SEE ALSO) sway(5) swaymsg(1) sway-input(5) sway-output(5) sway-bar(5) sway-ipc(7) 2026-06-23 sway(1)