The release of the composite manager Sway 1.6 is available, built using the Wayland protocol and fully compatible with the i3 tiling window manager and the i3bar panel. The project code is written in C and is distributed under the MIT license. The project is aimed at use in Linux and FreeBSD.
Compatibility with i3 is provided at the level of commands, configuration files, and IPC, allowing Sway to be used as a transparent replacement for i3, utilizing Wayland instead of X11. Sway allows windows to be organized on the screen logically rather than spatially. Windows are arranged in a grid that makes optimal use of screen space and allows for quick manipulation of windows using only the keyboard.
To create a complete user environment, the following components are offered: swayidle (background process implementing the KDE idle protocol), swaylock (screen locker), mako (notification manager), grim (screenshot creation), slurp (screen area selection), wf-recorder (video capture), waybar (application bar), virtboard (on-screen keyboard), wl-clipboard (clipboard management), wallutils (desktop wallpaper management).
Sway evolves as a modular project built on top of the wlroots library, which abstracts all basic primitives for organizing the operation of the compositing manager. Wlroots includes backends for abstracting access to the screen, input devices, rendering without direct access to OpenGL, interaction with KMS/DRM, libinput, Wayland, and X11 (providing a layer to run X11 applications on Xwayland). In addition to Sway, the wlroots library is actively used in other projects, including Librem5 and Cage. In addition to C/C++, bindings have been developed for Scheme, Common Lisp, Go, Haskell, OCaml, Python, and Rust.
In the new release:
- The ability to use an input method editor (IME) within user interface elements such as panels and lock screens has been implemented.
- The smoothness of interactive operations for moving and resizing windows has been improved.
- In standalone Flatpak and Snap packages, the xdg-foreign protocol has been engaged to enhance system integration.
- Compatibility with the i3 window manager has been improved in the area of commands that modify window layouts on the screen.
- An option to hide the cursor while typing has been added.
- The implementation of the trash can has been adapted to work in systems without systemd or elogind.
- The reliability of clipboard operations for X11 applications has been enhanced.
Source: opennet.ru
