95 lines
3.0 KiB
Markdown
95 lines
3.0 KiB
Markdown
# Sway-WM Setup and Theme for EndeavourOS
|
|
|
|
**Sway EndeavourOS Community Edition**
|
|
|
|
## To Install manually
|
|
|
|
git clone https://github.com/EndeavourOS-Community-Editions/sway.git
|
|
|
|
cd sway
|
|
|
|
bash sway-install.sh
|
|
|
|
## Contained In The Script
|
|
cp -R .config/* ~/.config/
|
|
|
|
cp .profile ~/.profile
|
|
|
|
cp .gtkrc-2.0 ~/.gtkrc-2.0
|
|
|
|
chmod -R +x ~/.config/sway/scripts
|
|
|
|
chmod -R +x ~/.config/waybar/scripts
|
|
|
|
sudo pacman -Syu --needed --noconfirm - < packages-repository.txt
|
|
|
|
dbus-launch dconf load / < xed.dconf
|
|
|
|
SDDM is the default display manager
|
|
|
|
systemctl enable sddm.service
|
|
|
|
systemctl start sddm.service
|
|
|
|
## Post install
|
|
|
|
- Keyboard layout in: `~/.config/sway/config.d/input`
|
|
- Screen settings in: `~/.config/sway/config.d/output`
|
|
- Keybings Cheatsheet: press keyboard icon in waybar
|
|
|
|
- If your experiencing issus with your cursor - edit file `~/.profile` and comment out `export 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
|
|
- Gtk3 theme handled by lxappearance
|
|
- Filebrowser = Thunar
|
|
- Default Terminal-Emulator = XFCE4-Terminal and/or Termite
|
|
- 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 floating terminal (XFCE4-Terminal)
|
|
- <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 (wofi)
|
|
- <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>MOD</kbd>+<kbd>R</kbd> = resize mode
|
|
- <kbd>MOD</kbd>+<kbd>SHIFT</kbd>+<kbd>SPACE</kbd> = float window
|
|
- <kbd>MOD</kbd>+<kbd>HOLD DOWN</kbd> = drag floating window
|
|
- <kbd>MOD</kbd>+<kbd>↑ ↓ → ←</kbd> = switch focus respectively
|
|
- <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
|
|
|
|
|
|
|
|

|
|

|
|
|
|
Waybar :
|
|

|
|
|