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): - -``