smithery/austinpray

sway-config

Configures Sway window manager. Use when user asks about sway keybindings, window rules, outputs, inputs, workspaces, or any sway/i3 configuration.

Installation

$ npx skills add smithery/austinpray --skill sway-config

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/austinpray.

npx skills add smithery/austinpray

Browse all from smithery/austinpray

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Read, Edit, Glob, Grep

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,513 B
  • docs SUMMARY.md 166 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Sway Configuration

Config location

~/dotfiles/.config/sway/config

Man pages

  • man 5 sway - Main config reference
  • man 5 sway-input - Input devices (keyboard, mouse, touchpad)
  • man 5 sway-output - Displays and monitors
  • man 5 sway-bar - Status bar configuration

Common patterns

Keybindings

bindsym $mod+Return exec foot bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle

Window rules (make windows float, assign to workspace, etc)

forwindow [appid="firefox"] floating enable forwindow [class="Steam"] move to workspace 5 assign [appid="discord"] workspace 4

Finding window identifiers

Run: swaymsg -t gettree | grep -E "appid|class"

Input configuration

input "type:keyboard" { xkb_options ctrl:nocaps }

Output configuration

output eDP-1 resolution 1920x1080 position 0,0

Startup programs

exec /usr/bin/program # runs once at startup exec_always nm-applet # runs on startup and reload

Variables

set $mod Mod4 set $term foot

Criteria for window matching

  • app_id - Wayland app identifier
  • class - X11 window class (XWayland)
  • title - Window title (regex)
  • floating/tiling - Window state

After editing

Reload config with $mod+Shift+c or run: swaymsg reload