mcpField
H
hyprland

hyprland

github.com/marceloeatworldその他943 回インストール1 日前に更新
リポジトリ

hyprland について

hyprlandは、Hyprland Waylandコンポジター向けのドキュメントスキルで、公式Wikiを元にした資料を毎日更新します。現在のLua設定と旧式のhyprlang資料を含め、設定、ツール、エコシステム、トラブルシューティングをテーマ別に参照できます。

主な機能

  1. 01テーマ別のWikiリファレンス
  2. 02現行Lua設定のガイド
  3. 03旧式hyprlangのバージョン別ガイド
  4. 04hyprctlとIPCのドキュメント
  5. 05トラブル対応とエコシステム資料

活用シーン

  1. 01Hyprlandの設定項目の確認
  2. 02キー割り当て、モニター、ウィンドウルールの例の参照
  3. 03Hyprlandの問題のトラブルシューティング
  4. 04Hyprlandのプラグインやツールの利用方法の確認

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/marceloeatworld/hyprland-ai-skill --skill hyprland

インストール後、Claude Code で/hyprlandを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

.gitignore
README.md
install.sh
.github/workflows/
update-references.yml
references/
animations.md
.wiki-version
code-snippets.md
autostart.md
contributing.md
binds.md
crashes-and-bugs.md
devices.md
dispatchers.md
environment-variables.md
hypr-libraries.md
hyprctl.md
gestures.md
hyprcursor.md
faq.md
getting-started.md
hyprland-qt-support.md
hyprlauncher.md
hypridle.md
hyprpicker.md
hyprpaper.md
hyprpolkitagent.md
hyprlock.md
hyprpwcenter.md
hyprsunset.md
hyprshutdown.md

詳細

Hyprland ドキュメント

Hyprland Wayland コンポジターの完全なリファレンスです。https://wiki.hypr.land/ の公式 Wiki から自動生成されています。

references/ ディレクトリには、https://github.com/hyprwm/hyprland-wiki の Wiki Markdown が一切変更されずに保存されており、毎日更新されています。

使い方

  1. ユーザーの質問からトピックを特定し、以下の表にある該当するリファレンスファイルを読みます。
  2. それらのファイルを基に回答します。さらに詳しい情報が必要な場合は、「Live Fetching」に記載されている GitHub の raw URL から最新のドキュメントを取得します。
  3. Hyprland 0.55 以降では、設定ファイルは Lua です(~/.config/hypr/hyprland.lua):hl.config({...})、hl.bind(...)、hl.monitor({...})、hl.window_rule({...})、hl.on(...) を使用します。従来の hyprlang 形式(hyprland.conf)は非推奨です。判断に迷った場合は、hyprctl version でユーザーのバージョンを確認します。
  4. Hyprland 0.54 以前では hyprlang 構文を使用し、バージョン別 Wiki(https://wiki.hypr.land/0.54.0/)を案内します(ここにあるリファレンスファイルは、現行の Lua ドキュメントを対象としています)。
  5. 設定ファイルを分割する場合は、従来の source = キーワードではなく、Lua の require("subdir/file") を使用します。
  6. NixOS ユーザーには、hyprpm は Nix ではサポートされていないことを伝えます。プラグインには Home Manager または NixOS モジュールを使用します。
  7. トラブルシューティングでは、まず references/faq.md を確認します。

リファレンスファイル

設定
トピックファイル
設定ファイルの基本、Lua 構文、require、LSP スタブreferences/start.md
変数/オプション(一般、装飾、入力、その他など)references/variables.md
キーバインド(hl.bind、フラグ、サブマップ)references/binds.md
ディスパッチャー(hl.dsp.*、hl.dispatch)references/dispatchers.md
ウィンドウルールとレイヤールールreferences/window-rules.md
モニター設定references/monitors.md
自動起動(hyprland.start イベント)references/autostart.md
アニメーションとベジェ曲線references/animations.md
ワークスペースルールとスマートギャップreferences/workspace-rules.md
環境変数references/environment-variables.md
レイアウト(dwindle、master、scrolling、monocle、custom)references/layouts.md
Lua スクリプト、イベント、タイマー(hl.on、hl.exec_cmd)references/lua-scripting.md
デバイスごとの入力設定references/devices.md
通知 APIreferences/notifications.md
パフォーマンスの調整references/performance.md
XWaylandreferences/xwayland.md
画面のティアリングreferences/tearing.md
マルチ GPUreferences/multi-gpu.md
仮想 GPUreferences/virtual-gpu.md
権限references/permissions.md
ジェスチャーreferences/gestures.md
systemd との統合(graphical-session.target)references/systemd.md
命名規則(ワークスペース、モニター、ウィンドウセレクター)references/naming-conventions.md
Lua コードスニペットと設定例references/code-snippets.md
ツール
トピックファイル
hyprctl CLI の使い方(eval、repl、batch)references/hyprctl.md
IPC ソケットとイベントreferences/ipc.md
Hypr エコシステム
トピックファイル
Hyprlock(画面ロック)references/hyprlock.md
Hypridle(アイドル管理)references/hypridle.md
Hyprpaper(壁紙)references/hyprpaper.md
Hyprlauncher(アプリランチャー)references/hyprlauncher.md
Hyprpicker(カラーピッカー)references/hyprpicker.md
Hyprsunset(ブルーライトフィルター)references/hyprsunset.md
Hyprcursor(カーソルテーマ)references/hyprcursor.md
XDPH(xdg-desktop-portal-hyprland)references/xdph.md
Hyprpolkitagent(polkit 認証)references/hyprpolkitagent.md
Hyprshutdown(シャットダウンユーティリティ)references/hyprshutdown.md
Hyprsysteminfo(システム情報)references/hyprsysteminfo.md
Hyprpwcenter(電源管理)references/hyprpwcenter.md
Hyprland Qt サポートreferences/hyprland-qt-support.md
開発ライブラリ(hyprtoolkit、hyprlang、hyprutils、aquamarine など)references/hypr-libraries.md
プラグイン
トピックファイル
プラグインの使用と開発references/plugins.md
プラットフォーム固有
トピックファイル
NixOS / Nix / Home Managerreferences/nix.md
Nvidia のセットアップreferences/nvidia.md
ヘルプ
トピックファイル
FAQ とトラブルシューティングreferences/faq.md
入門 / インストールreferences/getting-started.md
便利なユーティリティ(バー、ランチャー、スクリーンショット、systemd など)references/useful-utilities.md
クラッシュとバグreferences/crashes-and-bugs.md
Hyprland への貢献references/contributing.md

ライブ取得

参照ファイルの情報が不十分な場合は、GitHub の raw から最新のドキュメントを取得してください:

https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/<section>/<page>.md

パスは小文字です。セクションのインデックスページは _index.md です。例:

  • https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/configuring/core/config-options.md
  • https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/configuring/core/advanced-configuration/using-hyprctl.md
  • https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/hypr-ecosystem/user/hyprlock.md
  • https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/nix/installing-hyprland-on-nixos.md

各参照ファイルの先頭にある `` ヘッダーに、対応する Wiki セクションが記載されています。

クイックリファレンス(Hyprland 0.55 以降、Lua 設定)

設定ファイルの場所

~/.config/hypr/hyprland.lua(または $XDG_CONFIG_HOME/hypr/hyprland.lua。Hyprland --config で上書きできます)

オプション
hl.config({
    general = {
        border_size = 2,
        gaps_in = 5,
    },
})

複数の hl.config() 呼び出しが許可されており、それぞれ受け取った項目のみを更新します。

キーバインド
hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_cmd("firefox"))
hl.bind("SUPER + X", function()
    hl.dispatch(hl.dsp.window.float({ action = "toggle" }))
end)
自動起動
hl.on("hyprland.start", function()
    hl.exec_cmd("waybar & hyprpaper")
end)
ウィンドウルール
hl.window_rule({
    match = { class = "firefox" },
    opacity = 0.9,
    float = true,
})
モニター
hl.monitor({
    output = "DP-1",
    mode = "1920x1080@144",
    position = "0x0",
    scale = 1,
})
設定の分割
require("conf/binds")      -- ~/.config/hypr/conf/binds.lua
hyprctl による実行時制御
hyprctl reload
hyprctl eval 'hl.config({ general = { border_size = 3 } })'
hyprctl repl               # interactive Lua REPL
hyprctl --batch "..."

レガシー(Hyprland 0.54 以前、hyprlang)

旧形式の ~/.config/hypr/hyprland.conf:

bind = MODS, key, dispatcher, params
general {
    border_size = 2
}
monitor = name, resolution@rate, position, scale

レガシー版のドキュメント全文:https://wiki.hypr.land/0.54.0/

コメント