
hyprland
by mainliufeng
SKILL.md
name: hyprland description: "Hyprland automation with hyprctl: create/close named workspaces, open a standard 3-window dev layout (Codex + shell + Neovim) for a project, and manage windows via hyprctl dispatch. Use when asked to manipulate Hyprland workspaces or windows, or to script Hyprland layouts."
Hyprland
Quick start
- Create workspace:
scripts/hypr-ws-create.sh <name> - Close workspace(s):
scripts/hypr-ws-close.sh <name> [name...] - Open project layout:
scripts/hypr-ws-open-project.sh [project|path] - Open custom terminals:
scripts/hypr-ws-open-terms.sh <workspace> <dir> [Title::Command]... - Get instance signature:
scripts/hypr-instance.sh [--all] - Focus window by rule:
scripts/hypr-win-focus.sh --class REGEX --title REGEX - Move active window:
scripts/hypr-win-move.sh <workspace> [--follow] - Float & center:
scripts/hypr-win-float.sh --size 1300x800 --center - Resize active window:
scripts/hypr-win-resize.sh --exact 1300 800 - Pick window (wofi):
scripts/hypr-win-pick.sh - List windows:
scripts/hypr-list-clients.sh
Workspace tasks
Create a named workspace
Run scripts/hypr-ws-create.sh <name>.
Close/delete a workspace
Run scripts/hypr-ws-close.sh <name> [name...].
Behavior:
- Closes windows by address, then
killactive, then SIGTERM/SIGKILL if needed. - Switches to
HYPR_WS_FALLBACK(default1) unless set tonone. - Removes workspace names from
~/.cache/hypr-launcher/workspaces.txtif present.
Open a 3-window dev layout
Run scripts/hypr-ws-open-project.sh [project|path].
Defaults:
- Project roots:
~/Code/selfand~/Code/rcrai. - Workspace name: repo basename.
- Term:
ghostty. - Codex args:
--dangerously-bypass-approvals-and-sandbox.
Project resolution:
self/foo->~/Code/self/foorcrai/foo->~/Code/rcrai/foofoo-> search under both roots/abs/path-> use as-is
Env overrides:
HYPR_PROJECT_ROOTS(colon-separated roots)HYPR_WORKSPACE_NAMEHYPR_WORKSPACE_TERMHYPR_WORKSPACE_NVIM_CMDHYPR_WORKSPACE_CODEX_BINHYPR_WORKSPACE_CODEX_CMDHYPR_WORKSPACE_CODEX_ARGSHYPR_WORKSPACE_SHELLHYPR_WORKSPACE_SHELL_ARGSHYPR_WORKSPACE_PATH_PREFIX
Open custom terminal layout
Run scripts/hypr-ws-open-terms.sh <workspace> <dir> [Title::Command]....
Examples:
scripts/hypr-ws-open-terms.sh notes ~/notes "Nvim::nvim" "Shell::zsh"HYPR_WS_TERMS="Codex::codex --dangerously-bypass-approvals-and-sandbox|Shell::zsh|Nvim::nvim" scripts/hypr-ws-open-terms.sh dev ~/Code/self/mobius
Env overrides:
HYPR_WS_TERMHYPR_WS_SHELLHYPR_WS_SHELL_ARGSHYPR_WS_PATH_PREFIXHYPR_WS_TERMS
Window management
Use hyprctl dispatch for ad-hoc window actions. Add new scripts under scripts/ when the action is repeatable.
Examples:
- Focus:
hyprctl dispatch focuswindow address:<addr> - Move:
hyprctl dispatch movetoworkspace name:<ws> - Resize:
hyprctl dispatch resizeactive exact 1300 800
Focus a window by rule
Run scripts/hypr-win-focus.sh --class REGEX --title REGEX [--workspace NAME] [--icase] [--exec CMD].
Move active window to workspace
Run scripts/hypr-win-move.sh <workspace> [--follow].
Toggle floating with size/center
Run scripts/hypr-win-float.sh [--size WxH] [--center].
Resize active window
Run scripts/hypr-win-resize.sh --exact <width> <height> or --delta <dx> <dy>.
Center active window
Run scripts/hypr-win-center.sh.
Pick a window (wofi)
Run scripts/hypr-win-pick.sh to select and focus.
List clients
Run scripts/hypr-list-clients.sh to list address, workspace, class, title.
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon