Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sway

Sway is a tiling Wayland compositor compatible with i3: windows are placed side by side automatically and workspaces are numbered. d77void installs SwayFX, a Sway with extra visual effects, and uses Sway’s own bar.

Login screengreetd
Terminalkitty
BarSway’s bar (swaybar), filled by ~/.config/sway/status.sh
Launcherswmenu, fuzzel, nwggrid, d77run
NotificationsSwayNotificationCenter
Lock screenswaylock, after 5 minutes idle (screen off after 10)

Where to change things

WhatFile
keys, programs started with the session, keyboard, gaps, wallpaper, idle~/.config/sway/config
what the bar shows~/.config/sway/status.sh
colour themes (Catppuccin)~/.config/sway/catppuccin-*
notifications~/.config/swaync/
lock screen~/.config/swaylock/config
fuzzel launcher and power menu~/.config/fuzzel/

After saving config, press Super + Shift + C to reload it. The originals are in /etc/skel/.config/.

Keys

Super is the modifier ($mod).

KeysAction
Super + Returnterminal
Super + Dwmenu
Super + Pfuzzel (application launcher)
Super + Nnwggrid (application grid)
Super + Od77run
Super + Xpower menu
Super + Tlock screen
Super + Yrandom wallpaper from ~/Wallpaper/
Super + G, or Printscreenshot of the whole screen (grim; a PNG named after the date and time)
Super + Shift + Qclose window
Super + H/J/K/L or arrowsfocus left / down / up / right
Super + Shift + H/J/K/L or arrowsmove window
Super + 1 … 0go to workspace 1 … 10
Super + Shift + 1 … 0move window to workspace
Super + B / Super + Vsplit horizontally / vertically
Super + S / W / Elayout: stacking / tabbed / toggle split
Super + Ffull screen
Super + Shift + Spacefloat or tile the window
Super + Spaceswitch focus between floating and tiled
Super + Shift + − / Super + −send to / show the scratchpad
Super + Rresize mode (arrows or H/J/K/L; Return or Escape to leave)
Super + Shift + Creload the configuration
Super + Shift + Eexit Sway

Volume, microphone and brightness keys work, also on the lock screen.

Keyboard layout

In ~/.config/sway/config:

input type:keyboard {
    xkb_layout "pt"
    xkb_variant ""
}

Wallpaper

The line output * bg ~/Wallpaper/background3.png fill in config sets the wallpaper at start-up; change the file name to use another image. Super + Y picks a random one from ~/Wallpaper/ for the current session.