Share to: share facebook share twitter share wa share telegram print page

 

Sway (window manager)

Sway
Original author(s)Drew DeVault (SirCmpwn)
Initial releaseMarch 24, 2016; 8 years ago (2016-03-24)[1]
Stable release
1.10 / October 27, 2024; 2 months ago (2024-10-27)
Repository
Written inC
Operating systemUnix-like
Size5.3 MiB
TypeWindow manager
LicenseMIT License
Websiteswaywm.org

Sway is a tiling window manager and Wayland compositor, inspired by i3, and written in C.[2] Sway is designed as a drop-in replacement for i3 using the more modern Wayland display server protocol and wlroots compositor library.[3] Sway works with existing i3 configuration files and supports most of i3's features while providing several new features of its own.[4]

Sway's default controls for manipulating windows are similar to vi. Window focus is controlled by a combination of the Super key and one of the arrow keys or h, j, k, and l.[5] Window movement is performed by the same combination of keys with the addition of the shift key.

Like i3, Sway can be extended and manipulated using its Unix domain socket and JSON-based IPC interface from many programming languages.[6]

Sway's first stable release was on March 11, 2019, after 3.6 years of development.[7]

Features

Sway replicates several of i3's features:

  • Configuration is performed via a plain text file.[6]
  • Window tiling is handled manually, rather than dynamically.
  • Windows can be split horizontally or vertically.
  • Windows can be arranged in a tabbed (horizontal listing like that found in web browsers) or stacked (vertical listing) layout.
  • Windows can be floated similar to a floating window manager.
  • Tiled and floated windows can be resized or moved using both the mouse and keyboard.[8]
  • Sway can be completely driven from the keyboard.[9]

Sway also provides several unique features:

  • Supports multiple non-modifier keys when assigning key bindings.[10]
  • Windows on the same workspace can be split into multiple containers, such that one set of windows might be arranged in a tabbed layout while the other windows on the workspace might be tiled normally, floating, or arranged in a stacked layout.
  • Handles input, output, and wallpaper configurations instead of relying on separate programs.
  • Has its own ecosystem of utilities such as swaybg, swaybar, and swayidle.
  • Gestures.

References

  1. ^ Sway Initial Release, Sway, 2019-08-09, retrieved 2019-08-09
  2. ^ "State of Sway - December 2015". Drew DeVault’s Blog. 2015-12-20. Archived from the original on 2019-04-24. Retrieved 2019-08-09.
  3. ^ "Wlroots Is A New, Modular Wayland Compositor Library - Phoronix". www.phoronix.com. Retrieved 2019-08-09.
  4. ^ "Linux Hardware Reviews, Open-Source Benchmarks & Linux Performance - Phoronix". www.phoronix.com. Retrieved 2019-08-09.
  5. ^ "sway/config.in at master · swaywm/sway". GitHub. Retrieved 2025-01-04.
  6. ^ a b Sway - FLOSS Weekly 501, 10 October 2018, retrieved 2019-08-09
  7. ^ "Announcing the release of sway 1.0". Drew DeVault’s Blog. 2019-03-11. Retrieved 2019-08-09.
  8. ^ "Sway - A Tiling Wayland i3-Compatible Compositor". FOSSMint: Everything About Linux and FOSS. 2019-03-20. Retrieved 2019-08-09.
  9. ^ "Sway: A Tiling Window Manager Specially Crafted for Wayland". itsfoss.com. 27 March 2019. Retrieved 2019-08-09.
  10. ^ Differences from i3, Sway, 2019-08-09, retrieved 2019-08-09


Kembali kehalaman sebelumnya


Index: pl ar de en es fr it arz nl ja pt ceb sv uk vi war zh ru af ast az bg zh-min-nan bn be ca cs cy da et el eo eu fa gl ko hi hr id he ka la lv lt hu mk ms min no nn ce uz kk ro simple sk sl sr sh fi ta tt th tg azb tr ur zh-yue hy my ace als am an hyw ban bjn map-bms ba be-tarask bcl bpy bar bs br cv nv eml hif fo fy ga gd gu hak ha hsb io ig ilo ia ie os is jv kn ht ku ckb ky mrj lb lij li lmo mai mg ml zh-classical mr xmf mzn cdo mn nap new ne frr oc mhr or as pa pnb ps pms nds crh qu sa sah sco sq scn si sd szl su sw tl shn te bug vec vo wa wuu yi yo diq bat-smg zu lad kbd ang smn ab roa-rup frp arc gn av ay bh bi bo bxr cbk-zam co za dag ary se pdc dv dsb myv ext fur gv gag inh ki glk gan guw xal haw rw kbp pam csb kw km kv koi kg gom ks gcr lo lbe ltg lez nia ln jbo lg mt mi tw mwl mdf mnw nqo fj nah na nds-nl nrm nov om pi pag pap pfl pcd krc kaa ksh rm rue sm sat sc trv stq nso sn cu so srn kab roa-tara tet tpi to chr tum tk tyv udm ug vep fiu-vro vls wo xh zea ty ak bm ch ny ee ff got iu ik kl mad cr pih ami pwn pnt dz rmy rn sg st tn ss ti din chy ts kcg ve 
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9