一键导入
sway-config
Configures Sway window manager. Use when user asks about sway keybindings, window rules, outputs, inputs, workspaces, or any sway/i3 configuration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configures Sway window manager. Use when user asks about sway keybindings, window rules, outputs, inputs, workspaces, or any sway/i3 configuration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Install or remove Arch Linux packages declaratively. Use when adding a package to install, removing a package, or managing system packages via paru.
Create and edit Claude Code slash commands. Use when the user wants to create a new slash command, add a custom command, or modify an existing command in .claude/commands/.
View the latest screenshot. Use when user asks to look at, view, see, or analyze a screenshot, or says "latest screenshot".
Install and manage dotfiles in this repository. Use when adding a new config file to be tracked, symlinking a dotfile, or modifying which files are managed by the dotfiles repo.
Reads man pages to find configuration options. Use when the user asks to configure an application, needs to find a config option, or asks "how do I make X do Y" for a CLI tool or system program.
| name | sway-config |
| description | Configures Sway window manager. Use when user asks about sway keybindings, window rules, outputs, inputs, workspaces, or any sway/i3 configuration. |
| allowed-tools | Bash, Read, Edit, Glob, Grep |
~/dotfiles/.config/sway/config
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 configurationbindsym $mod+Return exec foot bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
for_window [app_id="firefox"] floating enable for_window [class="Steam"] move to workspace 5 assign [app_id="discord"] workspace 4
Run: swaymsg -t get_tree | grep -E "app_id|class"
input "type:keyboard" { xkb_options ctrl:nocaps }
output eDP-1 resolution 1920x1080 position 0,0
exec /usr/bin/program # runs once at startup exec_always nm-applet # runs on startup and reload
set $mod Mod4 set $term foot
Reload config with $mod+Shift+c or run: swaymsg reload