95 lines
3.5 KiB
Markdown
95 lines
3.5 KiB
Markdown
# Sway-WM Setup and Theme for EndeavourOS
|
|
|
|
**Sway EndeavourOS Community Edition**
|
|
|
|
[]()
|
|
|
|
## To Install Sway
|
|
|
|
### With the EOS Installer
|
|
|
|
1. In the live environment, choose "Fetch your install customization file" from the Welcome app.
|
|
2. Type or paste the URL for the Sway user_commands.bash file.
|
|
```
|
|
https://raw.githubusercontent.com/EndeavourOS-Community-Editions/sway/main/setup_sway_isomode.bash
|
|
```
|
|

|
|
|
|
3. Click <kbd> OK </kbd>, then back in the Welcome app click <kbd> Start the Installer </kbd> and proceed with an online installation. Be sure to choose "no desktop" on the DE selection screen.
|
|
|
|

|
|
|
|
|
|
### Manually (Post-Installation)
|
|
|
|
Alternatively, you can add Sway after the installation is complete by cloning the repo and running the `sway-install.sh` script.
|
|
|
|
git clone https://github.com/EndeavourOS-Community-Editions/sway.git
|
|
|
|
cd sway
|
|
|
|
sudo ./sway-install.sh
|
|
|
|
## Post install
|
|
|
|
- Keyboard layout in: `~/.config/sway/config.d/input`
|
|
- Screen settings in: `~/.config/sway/config.d/output`
|
|
- Keybindings Cheatsheet: press keyboard icon in waybar
|
|
|
|
- If your experiencing issues with your cursor - edit file `/etc/greetd/regreet.toml` and uncomment `WLR_NO_HARDWARE_CURSORS = "1"`
|
|
|
|
## Get involved at our forum:
|
|
https://forum.endeavouros.com/t/sway-edition-general-conversation
|
|
|
|
## Tutorial for sway-wm settings:
|
|
|
|
- Background handled by swaybg
|
|
- Filebrowser = Thunar
|
|
- Default Terminal-Emulator = Foot
|
|
- Text-Editor = xed/nano
|
|
- Bar = Waybar
|
|
- Sound = Pulseaudio
|
|
|
|
Main shortcuts: `~/.config/sway/cheatsheet`
|
|
|
|
|
|
<kbd>MOD</kbd> key is set to the <kbd>WINKEY</kbd>/<kbd>LINKEY</kbd>
|
|
|
|
- <kbd>MOD</kbd>+<kbd>Return</kbd> = open terminal (Foot)
|
|
- <kbd>MOD</kbd>+<kbd>O</kbd> = open Browser (Firefox)
|
|
- <kbd>MOD</kbd>+<kbd>N</kbd> = open File Manager (Thunar)
|
|
- <kbd>MOD</kbd>+<kbd>D</kbd>= app menu (Fuzzel)
|
|
- <kbd>MOD</kbd>+<kbd>Q</kbd> = close focused app [kill]
|
|
- <kbd>Shift</kbd>+<kbd>PrtSc</kbd> = screenshot/bring up screenshot menu
|
|
- <kbd>MOD</kbd>+<kbd>SHIFT</kbd>+<kbd>E</kbd> = power-menu
|
|
- <kbd>CTRL</kbd>+<kbd>MOD</kbd>+<kbd>↑ ↓ → ←</kbd> = resize window
|
|
- <kbd>MOD</kbd>+ right click = resize window
|
|
- <kbd>MOD</kbd>+<kbd>SHIFT</kbd>+<kbd>SPACE</kbd> = float window
|
|
- <kbd>MOD</kbd>+<kbd>SHIFT</kbd>+<kbd>↑ ↓ → ←</kbd> = move window
|
|
- <kbd>MOD</kbd>+ left click = move window
|
|
- <kbd>MOD</kbd>+<kbd>↑ ↓ → ←</kbd> = switch focused window
|
|
- <kbd>MOD</kbd>+<kbd>SHIFT</kbd>+<kbd>MINUS</kbd> = send to scratchpad
|
|
- <kbd>MOD</kbd>+<kbd>MINUS</kbd> = cycle through scratchpad
|
|
|
|
|
|
|
|
|
|
## Tiling:
|
|
|
|
Is set to default for swaywm and can be changed to:
|
|
|
|
- stacking: Only the focused window in the container is displayed. You get a list of windows at the top of the container.
|
|
- <kbd>MOD</kbd>+<kbd>S</kbd> = Vertical List
|
|
- <kbd>MOD</kbd>+<kbd>W</kbd> = Horizontal List
|
|
- navigate lists with <kbd>MOD</kbd>+<kbd>↑ ↓ → ←</kbd>
|
|
- <kbd>MOD</kbd>+<kbd>E</kbd> = Back to tiling
|
|
|
|

|
|
|
|
Fuzzel:
|
|

|
|
|
|
Waybar:
|
|

|
|
|