1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

i3: update page, sway: add page (#16260)

This commit is contained in:
Lena 2025-04-26 15:57:53 +00:00 committed by GitHub
parent 3aa77c4a22
commit 298b72bce5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 45 additions and 32 deletions

32
pages/common/i3.md Normal file
View file

@ -0,0 +1,32 @@
# i3
> A tiling window manager for X11.
> More information: <https://i3wm.org/docs/userguide.html>.
- Start `i3` (Note that a pre-existing window manager must not be open when this command is run):
`i3`
- Open a new terminal window:
`<Super Enter>`
- Move the focused window to a workspace:
`<Super Shift {{Number}}>`
- Switch to a workspace:
`<Super {{Number}}>`
- Split the next window horizontally:
`<Super h>`
- Split the next window vertically:
`<Super v>`
- Open an application launcher:
`<Super d>`

13
pages/common/sway.md Normal file
View file

@ -0,0 +1,13 @@
# sway
> A tiling Wayland compositor.
> It uses the same config format as `i3`, with some Wayland-specific additions.
> More information: <https://github.com/swaywm/sway/wiki>.
- Start `sway`:
`sway`
- View documentation for `i3` (`sway` uses the same default keybindings):
`tldr i3`

View file

@ -1,32 +0,0 @@
# i3
> A dynamic tiling window manager.
> More information: <https://i3wm.org/docs/userguide.html>.
- Start i3 (Note that a pre-existing window manager must not be open when this command is run):
`i3`
- Open a new terminal window:
`<Super Enter>`
- Create a new workspace:
`<Super Shift {{Number}}>`
- Switch to a workspace:
`<Super {{Number}}>`
- Open new window horizontally:
`<Super h>`
- Open new window vertically:
`<Super v>`
- Open application (type out application name after executing command):
`<Super d>`