sway-inputs

Configure input devices in Sway using libinput and XKB settings.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/milojarow/dotfiles --skill sway-inputs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sway-inputs
Source: https://github.com/milojarow/dotfiles/tree/main/.claude/skills/sway-inputs
Command: npx skills add https://github.com/milojarow/dotfiles --skill sway-inputs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you precisely configure all your input devices within the Sway window manager, ensuring a comfortable and efficient user experience.

Core Features & Use Cases

  • Keyboard Layouts: Set up multiple keyboard layouts and easily switch between them.
  • Touchpad & Mouse Tuning: Adjust acceleration, scrolling, tap-to-click, and disable the touchpad while typing.
  • Tablet Mapping: Accurately map drawing tablets or touch screens to specific outputs.
  • Seat Configuration: Manage multiple input device sets for shared workstations.
  • Use Case: You've just installed Sway and your keyboard layout is incorrect, or your touchpad is too sensitive. Use this Skill to set your preferred layout (e.g., Dvorak) and fine-tune your touchpad settings for optimal use.

Quick Start

Configure your keyboard to use US and Spanish layouts, with Alt+Shift as the toggle.

Frequently Asked Questions about sway-inputs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure keyboard layouts in Sway and switch between them?

Configure keyboard layouts in Sway by editing the Sway configuration file to define XKB layouts and variants, setting toggle keys like Alt+Shift to switch between multiple input languages.

How can I adjust touchpad sensitivity and enable tap-to-click in Sway?

Adjust touchpad sensitivity and enable tap-to-click in Sway by using libinput options within the configuration file to fine-tune pointer acceleration, scrolling behavior, and tapping preferences.

Does Sway support mapping a drawing tablet to a specific output?

Sway supports mapping drawing tablets to specific outputs through configuration file directives, allowing precise input area alignment with the designated screen using libinput settings.

What is the best way to manage multi-seat configurations for shared workstations in Sway?

Manage multi-seat configurations in Sway by defining seat rules in the configuration file, grouping specific input devices to separate seat targets for shared workstation environments.

Can I disable the touchpad while typing in Sway to prevent accidental input?

Disable the touchpad while typing in Sway by enabling the libinput disable-while-typing option within your input device configuration block to prevent accidental pointer movements.

Why is my keyboard layout incorrect after installing Sway?

An incorrect keyboard layout after installing Sway occurs because default XKB settings are applied, requiring manual configuration file edits to set your preferred layout and variant.