Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Configuration

aceydot edited this page Aug 27, 2025 · 1 revision

Changing keyboard layout

Edit ~/.config/sway/config and update the following lines:

# Keyboard layout
input type:keyboard {
    xkb_layout "us"
    xkb_options "grp:alt_shift_toggle"
}

Enabling mouse acceleration

Mouse acceleration is disabled by default. To enable it, delete the following line in ~/.config/sway/config:

# Input
input type:pointer {
    accel_profile flat # Disables mouse acceleration
}

Changing idle & lock behaviour

By default, the screen locks itself after 30 minutes. To change this, edit ~/.config/sway/config:

# Idle & Lock Behavior
exec swayidle -w timeout 1800 "$lock" # Locks the screen after 30min

Clone this wiki locally