From 298b72bce5d9bbe36810b54cff3e258b5ef3757b Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Sat, 26 Apr 2025 15:57:53 +0000 Subject: [PATCH] i3: update page, sway: add page (#16260) --- pages.ca/{linux => common}/i3.md | 0 pages.es/{linux => common}/i3.md | 0 pages.it/{linux => common}/i3.md | 0 pages.ko/{linux => common}/i3.md | 0 pages.zh/{linux => common}/i3.md | 0 pages/common/i3.md | 32 ++++++++++++++++++++++++++++++++ pages/common/sway.md | 13 +++++++++++++ pages/linux/i3.md | 32 -------------------------------- 8 files changed, 45 insertions(+), 32 deletions(-) rename pages.ca/{linux => common}/i3.md (100%) rename pages.es/{linux => common}/i3.md (100%) rename pages.it/{linux => common}/i3.md (100%) rename pages.ko/{linux => common}/i3.md (100%) rename pages.zh/{linux => common}/i3.md (100%) create mode 100644 pages/common/i3.md create mode 100644 pages/common/sway.md delete mode 100644 pages/linux/i3.md diff --git a/pages.ca/linux/i3.md b/pages.ca/common/i3.md similarity index 100% rename from pages.ca/linux/i3.md rename to pages.ca/common/i3.md diff --git a/pages.es/linux/i3.md b/pages.es/common/i3.md similarity index 100% rename from pages.es/linux/i3.md rename to pages.es/common/i3.md diff --git a/pages.it/linux/i3.md b/pages.it/common/i3.md similarity index 100% rename from pages.it/linux/i3.md rename to pages.it/common/i3.md diff --git a/pages.ko/linux/i3.md b/pages.ko/common/i3.md similarity index 100% rename from pages.ko/linux/i3.md rename to pages.ko/common/i3.md diff --git a/pages.zh/linux/i3.md b/pages.zh/common/i3.md similarity index 100% rename from pages.zh/linux/i3.md rename to pages.zh/common/i3.md diff --git a/pages/common/i3.md b/pages/common/i3.md new file mode 100644 index 0000000000..6f1f17fdfe --- /dev/null +++ b/pages/common/i3.md @@ -0,0 +1,32 @@ +# i3 + +> A tiling window manager for X11. +> More information: . + +- Start `i3` (Note that a pre-existing window manager must not be open when this command is run): + +`i3` + +- Open a new terminal window: + +`` + +- Move the focused window to a workspace: + +`` + +- Switch to a workspace: + +`` + +- Split the next window horizontally: + +`` + +- Split the next window vertically: + +`` + +- Open an application launcher: + +`` diff --git a/pages/common/sway.md b/pages/common/sway.md new file mode 100644 index 0000000000..d7b2fa80b3 --- /dev/null +++ b/pages/common/sway.md @@ -0,0 +1,13 @@ +# sway + +> A tiling Wayland compositor. +> It uses the same config format as `i3`, with some Wayland-specific additions. +> More information: . + +- Start `sway`: + +`sway` + +- View documentation for `i3` (`sway` uses the same default keybindings): + +`tldr i3` diff --git a/pages/linux/i3.md b/pages/linux/i3.md deleted file mode 100644 index b2ab5fef09..0000000000 --- a/pages/linux/i3.md +++ /dev/null @@ -1,32 +0,0 @@ -# i3 - -> A dynamic tiling window manager. -> More information: . - -- Start i3 (Note that a pre-existing window manager must not be open when this command is run): - -`i3` - -- Open a new terminal window: - -`` - -- Create a new workspace: - -`` - -- Switch to a workspace: - -`` - -- Open new window horizontally: - -`` - -- Open new window vertically: - -`` - -- Open application (type out application name after executing command): - -``