本文へ移動
cccskills
無料GitHub で公開

hyprland

This skill should be used when the user asks about "Hyprland configuration", "hyprland.lua", "hyprland.conf", "Hyprland Lua config", "hyprctl", "Hyprland keybinds", "Hyprland window rules", "Hyprland monitors", "Hyprland dispatchers", "Hyprland animations", "Hyprland workspaces", "Hyprland IPC", "Hyprland plugins", "hyprlock", "hypridle", "hyprpaper", "hyprcursor", "hyprpicker", "hyprsunset", "xdg-desktop-portal-hyprland", "Hyprland on NixOS", "Hyprland Home Manager", "Hyprland layouts", "Hyprland dwindle", "Hyprland master layout", "Hyprland FAQ", "Hyprland performance", "Hyprland Nvidia", "Hyprland screen sharing", "Hyprland special workspace", "Hyprland smart gaps", "Hyprland multi-monitor", "Hyprland tearing", or any topic related to configuring, troubleshooting, or extending the Hyprland Wayland compositor and its ecosystem tools.

インストール方法を見る

含まれるファイル(55)

  • SKILL.md7.8 KB
  • .github/workflows/update-references.yml1.3 KB
  • .gitignore26 B
  • install.sh3.5 KB
  • README.md8.1 KB
  • references/.wiki-version50 B
  • references/animations.md6.1 KB
  • references/autostart.md770 B
  • references/binds.md23.2 KB
  • references/code-snippets.md14.6 KB
  • references/contributing.md18.5 KB
  • references/crashes-and-bugs.md5.9 KB
  • references/devices.md2.0 KB
  • references/dispatchers.md12.7 KB
  • references/environment-variables.md4.0 KB
  • references/faq.md13.1 KB
  • references/gestures.md8.4 KB
  • references/getting-started.md26.4 KB
  • references/hypr-libraries.md15.9 KB
  • references/hyprctl.md8.3 KB
  • references/hyprcursor.md2.2 KB
  • references/hypridle.md11.2 KB
  • references/hyprland-qt-support.md2.3 KB
  • references/hyprlauncher.md2.1 KB
  • references/hyprlock.md19.0 KB
  • references/hyprpaper.md3.4 KB
  • references/hyprpicker.md1.9 KB
  • references/hyprpolkitagent.md1.3 KB
  • references/hyprpwcenter.md436 B
  • references/hyprshutdown.md2.0 KB
  • references/hyprsunset.md4.8 KB
  • references/hyprsysteminfo.md457 B
  • references/ipc.md6.6 KB
  • references/layouts.md18.9 KB
  • references/lua-scripting.md9.3 KB
  • references/monitors.md14.1 KB
  • references/multi-gpu.md4.6 KB
  • references/naming-conventions.md3.5 KB
  • references/nix.md30.1 KB
  • references/notifications.md2.4 KB
  • references/nvidia.md1.3 KB
  • references/performance.md1.5 KB
  • references/permissions.md5.2 KB
  • references/plugins.md17.6 KB
  • references/start.md6.9 KB
  • references/systemd.md2.0 KB
  • references/tearing.md1.7 KB
  • references/useful-utilities.md47.5 KB
  • references/variables.md57.6 KB
  • references/virtual-gpu.md6.9 KB
  • references/window-rules.md18.0 KB
  • references/workspace-rules.md3.1 KB
  • references/xdph.md5.7 KB
  • references/xwayland.md2.0 KB
  • scripts/generate-references.sh12.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Hyprland Documentation

Complete reference for the Hyprland Wayland compositor, auto-generated from the official wiki at https://wiki.hypr.land/.

The references/ directory contains the full, unmodified wiki markdown from https://github.com/hyprwm/hyprland-wiki, updated daily.

How to Use

  1. Identify the topic from the user's question and read the matching reference file from the tables below.
  2. Base answers on those files. If more detail is needed, fetch the latest docs from the raw GitHub URLs in Live Fetching.
  3. Since Hyprland 0.55, the config is Lua (~/.config/hypr/hyprland.lua): hl.config({...}), hl.bind(...), hl.monitor({...}), hl.window_rule({...}), hl.on(...). The old hyprlang format (hyprland.conf) is deprecated. Check the user's version with hyprctl version when in doubt.
  4. For Hyprland 0.54 and earlier, use hyprlang syntax and point the user to the versioned wiki at https://wiki.hypr.land/0.54.0/ (the reference files here track the current Lua docs).
  5. Split configs use Lua require("subdir/file"), not the old source = keyword.
  6. For NixOS users, note that hyprpm is unsupported on Nix — use Home Manager or the NixOS module for plugins.
  7. For troubleshooting, check references/faq.md first.

Reference Files

Configuration

TopicFile
Config file basics, Lua syntax, require, LSP stubsreferences/start.md
Variables / options (general, decoration, input, misc, etc.)references/variables.md
Keybinds (hl.bind, flags, submaps)references/binds.md
Dispatchers (hl.dsp.*, hl.dispatch)references/dispatchers.md
Window rules and layer rulesreferences/window-rules.md
Monitor configurationreferences/monitors.md
Autostart (hyprland.start event)references/autostart.md
Animations and bezier curvesreferences/animations.md
Workspace rules and smart gapsreferences/workspace-rules.md
Environment variablesreferences/environment-variables.md
Layouts (dwindle, master, scrolling, monocle, custom)references/layouts.md
Lua scripting, events, timers (hl.on, hl.exec_cmd)references/lua-scripting.md
Per-device input configreferences/devices.md
Notifications APIreferences/notifications.md
Performance tuningreferences/performance.md
XWaylandreferences/xwayland.md
Screen tearingreferences/tearing.md
Multi-GPUreferences/multi-gpu.md
Virtual GPUreferences/virtual-gpu.md
Permissionsreferences/permissions.md
Gesturesreferences/gestures.md
Systemd integration (graphical-session.target)references/systemd.md
Naming conventions (workspace, monitor, window selectors)references/naming-conventions.md
Lua code snippets and example configsreferences/code-snippets.md

Tools

TopicFile
hyprctl CLI usage (eval, repl, batch)references/hyprctl.md
IPC sockets and eventsreferences/ipc.md

Hypr Ecosystem

TopicFile
Hyprlock (screen lock)references/hyprlock.md
Hypridle (idle management)references/hypridle.md
Hyprpaper (wallpaper)references/hyprpaper.md
Hyprlauncher (app launcher)references/hyprlauncher.md
Hyprpicker (color picker)references/hyprpicker.md
Hyprsunset (blue light filter)references/hyprsunset.md
Hyprcursor (cursor themes)references/hyprcursor.md
XDPH (xdg-desktop-portal-hyprland)references/xdph.md
Hyprpolkitagent (polkit auth)references/hyprpolkitagent.md
Hyprshutdown (shutdown utility)references/hyprshutdown.md
Hyprsysteminfo (system info)references/hyprsysteminfo.md
Hyprpwcenter (power management)references/hyprpwcenter.md
Hyprland Qt supportreferences/hyprland-qt-support.md
Dev libraries (hyprtoolkit, hyprlang, hyprutils, aquamarine, etc.)references/hypr-libraries.md

Plugins

TopicFile
Plugin usage and developmentreferences/plugins.md

Platform-Specific

TopicFile
NixOS / Nix / Home Managerreferences/nix.md
Nvidia setupreferences/nvidia.md

Help

TopicFile
FAQ and troubleshootingreferences/faq.md
Getting started / installationreferences/getting-started.md
Useful utilities (bars, launchers, screenshots, systemd, etc.)references/useful-utilities.md
Crashes and bugsreferences/crashes-and-bugs.md
Contributing to Hyprlandreferences/contributing.md

Live Fetching

When reference files are insufficient, fetch the latest docs from raw GitHub:

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

Paths are lowercase. Section index pages are _index.md. Examples:

  • 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

The <!-- source: ... --> header at the top of each reference file gives the matching wiki section.

Quick Reference (Hyprland 0.55+, Lua config)

Config file location

~/.config/hypr/hyprland.lua (or $XDG_CONFIG_HOME/hypr/hyprland.lua, override with Hyprland --config)

Options

hl.config({
    general = {
        border_size = 2,
        gaps_in = 5,
    },
})

Multiple hl.config() calls are allowed; each updates only what it receives.

Binds

hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_cmd("firefox"))
hl.bind("SUPER + X", function()
    hl.dispatch(hl.dsp.window.float({ action = "toggle" }))
end)

Autostart

hl.on("hyprland.start", function()
    hl.exec_cmd("waybar & hyprpaper")
end)

Window rules

hl.window_rule({
    match = { class = "firefox" },
    opacity = 0.9,
    float = true,
})

Monitors

hl.monitor({
    output = "DP-1",
    mode = "1920x1080@144",
    position = "0x0",
    scale = 1,
})

Split config

require("conf/binds")      -- ~/.config/hypr/conf/binds.lua

hyprctl runtime control

hyprctl reload
hyprctl eval 'hl.config({ general = { border_size = 3 } })'
hyprctl repl               # interactive Lua REPL
hyprctl --batch "..."

Legacy (Hyprland 0.54 and earlier, hyprlang)

Old-style ~/.config/hypr/hyprland.conf:

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

Full legacy docs: https://wiki.hypr.land/0.54.0/

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

このスキルの問題を報告する