Agent skill
sway-config
Configures Sway window manager. Use when user asks about sway keybindings, window rules, outputs, inputs, workspaces, or any sway/i3 configuration.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/product/sway-config-austinpray-dotfiles
SKILL.md
Sway Configuration
Config location
~/dotfiles/.config/sway/config
Man pages
man 5 sway- Main config referenceman 5 sway-input- Input devices (keyboard, mouse, touchpad)man 5 sway-output- Displays and monitorsman 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)
for_window [app_id="firefox"] floating enable for_window [class="Steam"] move to workspace 5 assign [app_id="discord"] workspace 4
Finding window identifiers
Run: swaymsg -t get_tree | grep -E "app_id|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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?